diff options
author | Vika <vika@fireburn.ru> | 2022-09-19 19:01:06 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-09-19 19:01:06 +0300 |
commit | 53c868691a09b84d71f724d23a09d1fb89368792 (patch) | |
tree | e5593882f3c9d4141a2cb796d48dc98b84411d20 /kittybox-rs/Cargo.toml | |
parent | de105ec7a56752c152e3020fa53a0e13206f4cb4 (diff) | |
download | kittybox-53c868691a09b84d71f724d23a09d1fb89368792.tar.zst |
Make webauthn and openssl optional
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 |