[package] name = "webauthn-rs-proto" version = "0.5.0" authors = ["William Brown "] edition = "2021" rust-version = "1.70.0" description = "Webauthn Specification Bindings" repository = "https://github.com/kanidm/webauthn-rs" readme = "README.md" keywords = ["webauthn", "authentication"] categories = ["authentication", "web-programming"] license = "MPL-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = [] wasm = ["wasm-bindgen", "web-sys", "js-sys", "serde-wasm-bindgen"] [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"] [dependencies] base64.workspace = true base64urlsafedata.workspace = true serde.workspace = true serde_json.workspace = true url = { workspace = true, features = ["serde"] } # num_enum = "0.5" # Webauthn Components wasm-bindgen = { version = "0.2", features = [ "serde-serialize", ], optional = true } serde-wasm-bindgen = { version = "0.4", optional = true } js-sys = { version = "0.3", optional = true } [dependencies.web-sys] version = "0.3" optional = true features = [ "CredentialCreationOptions", "CredentialRequestOptions", "PublicKeyCredential", "PublicKeyCredentialCreationOptions", "AuthenticationExtensionsClientInputs", "AuthenticationExtensionsClientOutputs", "console", ]