diff options
Diffstat (limited to 'kittybox-rs/Cargo.toml')
-rw-r--r-- | kittybox-rs/Cargo.toml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kittybox-rs/Cargo.toml b/kittybox-rs/Cargo.toml index c9b98a2..6b0057f 100644 --- a/kittybox-rs/Cargo.toml +++ b/kittybox-rs/Cargo.toml @@ -7,9 +7,10 @@ default-run = "kittybox" autobins = false [features] -default = ["openssl"] +default = ["rustls"] #util = ["anyhow"] #migration = ["util"] +webauthn = ["openssl", "dep:webauthn"] openssl = ["reqwest/native-tls-vendored", "reqwest/native-tls-alpn"] rustls = ["reqwest/rustls-tls-webpki-roots"] cli = ["clap"] @@ -85,7 +86,7 @@ tracing-tree = "0.2.1" tracing-subscriber = { version = "0.3.11", features = ["env-filter", "json"] } tower-http = { version = "0.3.3", features = ["trace", "cors", "catch-panic"] } tower = { version = "0.4.12", features = ["tracing"] } -webauthn = { version = "0.4.5", package = "webauthn-rs", features = ["danger-allow-state-serialisation"] } +webauthn = { version = "0.4.5", package = "webauthn-rs", features = ["danger-allow-state-serialisation"], optional = true } [dependencies.tokio] version = "^1.16.1" features = ["full", "tracing"] # TODO determine if my app doesn't need some features |