kanidm/kanidm_proto/Cargo.toml
James Hodgkinson e88d345c41
Fix WASM build post-version-thing (#1000)
* disable last-git-commit in WASM
* Print the version to the console when building in dev mode
2022-08-22 12:46:43 +10:00

31 lines
928 B
TOML

[package]
name = "kanidm_proto"
version = "1.1.0-alpha.9"
authors = ["William Brown <william@blackhats.net.au>"]
rust-version = "1.59"
edition = "2021"
license = "MPL-2.0"
description = "Kanidm Protocol Bindings for serde"
documentation = "https://docs.rs/kanidm_proto/latest/kanidm_proto/"
homepage = "https://github.com/kanidm/kanidm/"
repository = "https://github.com/kanidm/kanidm/"
[features]
wasm = ["webauthn-rs-proto/wasm"]
[dependencies]
base32 = "^0.4.0"
base64urlsafedata = "0.1.0"
serde = { version = "^1.0.142", features = ["derive"] }
serde_json = "^1.0.83"
# Can not upgrade due to breaking timezone apis.
time = { version = "=0.2.27", features = ["serde", "std"] }
url = { version = "^2.2.2", features = ["serde"] }
urlencoding = "2.1.0"
uuid = { version = "^1.1.2", features = ["serde"] }
webauthn-rs-proto = "0.4.2-beta.3"
[target.'cfg(not(target_family = "wasm"))'.dependencies]
last-git-commit = "0.2.0"