# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "slauth" version = "0.7.10" authors = [ "richer ", "LucFauvel ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "oath HOTP and TOTP complient implementation" homepage = "https://github.com/devolutions/slauth" documentation = "https://docs.rs/slauth" readme = "README.md" keywords = [ "TOTP", "HOTP", "2FA", "MFA", "WebAuthn", ] license = "MIT" repository = "https://github.com/devolutions/slauth" [lib] name = "slauth" crate-type = [ "lib", "staticlib", "cdylib", ] path = "src/lib.rs" [[example]] name = "web-server" path = "examples/web-server.rs" [dependencies.base32] version = "0.4" [dependencies.base64] version = "0.13" optional = true [dependencies.byteorder] version = "1.4" optional = true [dependencies.bytes] version = "1.2" optional = true [dependencies.ed25519-dalek] version = "2.1.0" features = [ "rand_core", "pkcs8", ] optional = true [dependencies.hex] version = "0.4" [dependencies.hmac] version = "0.12" features = ["reset"] [dependencies.http] version = "1.0" optional = true [dependencies.indexmap] version = "2.2.6" features = ["serde"] optional = true [dependencies.p256] version = "0.13.2" optional = true [dependencies.rand] version = "0.8.5" [dependencies.ring] version = "0.16" optional = true [dependencies.rsa] version = "0.9.2" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_bytes] version = "0.11" optional = true [dependencies.serde_cbor] version = "0.11" optional = true [dependencies.serde_derive] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_repr] version = "0.1" optional = true [dependencies.sha-1] version = "0.10" features = ["oid"] [dependencies.sha2] version = "0.10" features = ["oid"] [dependencies.time] version = "0.3" [dependencies.untrusted] version = "0.9.0" optional = true [dependencies.uuid] version = "1.6" optional = true [dependencies.webpki] version = "0.22" features = ["alloc"] optional = true [dependencies.x509-parser] version = "0.15.0" [dev-dependencies.bytes] version = "1.2" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde_cbor] version = "0.11" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.uuid] version = "1.2" [features] android = ["jni"] auth-base = [ "base64", "byteorder", "ring", "serde", "serde_derive", "serde_json", "serde_bytes", ] default = [ "u2f-server", "webauthn-server", "native-bindings", ] native-bindings = [] u2f = [ "auth-base", "untrusted", "serde_repr", ] u2f-server = [ "u2f", "webpki", ] webauthn = [ "auth-base", "bytes", "serde_cbor", "uuid", "http", "ed25519-dalek", "p256", "indexmap", ] webauthn-server = [ "webauthn", "webpki", ] [target.'cfg(not(target_arch="wasm32"))'.dev-dependencies.async-stream] version = ">= 0.3, < 0.3.4" [target.'cfg(not(target_arch="wasm32"))'.dev-dependencies.saphir] version = "3.1.0" features = ["full"] [target.'cfg(not(target_arch="wasm32"))'.dev-dependencies.tokio] version = "1" features = ["full"] [target.'cfg(target_arch="wasm32")'.dependencies.getrandom] version = "0.2" features = ["js"] [target.'cfg(target_arch="wasm32")'.dependencies.js-sys] version = "0.3.37" [target.'cfg(target_arch="wasm32")'.dependencies.serde-wasm-bindgen] version = "0.6.3" [target.'cfg(target_arch="wasm32")'.dependencies.wasm-bindgen] version = "0.2.91" [target.'cfg(target_arch="wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3.10" [target.'cfg(target_os = "android")'.dependencies.jni] version = "0.21.1" optional = true