Skip to content

Commit 80545bf

Browse files
authored
Remove unused aws-lc-rs dependency (#164)
By not disabling default features, rustls was adding aws-lc-rs, which was the largest dependency in terms of compilation time, but also was unused, since we're configured to use ring.
1 parent 9e4e5d7 commit 80545bf

File tree

2 files changed

+4
-89
lines changed

2 files changed

+4
-89
lines changed

libwebauthn/Cargo.lock

Lines changed: 2 additions & 87 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libwebauthn/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ tungstenite = { version = "0.26.2" }
6565
tokio-tungstenite = { version = "0.26", features = [
6666
"rustls-tls-native-roots",
6767
] }
68-
rustls = { version = "0.23.27", features = ["ring"] }
68+
rustls = { version = "0.23.27", default-features = false, features = ["ring"] }
6969
tokio-stream = "0.1"
7070
snow = { version = "0.10", features = ["use-p256"] }
7171
ctap-types = { version = "0.4.0" }
@@ -81,7 +81,7 @@ nfc1-sys = { version = "0.3.9", optional = true, default-features = false }
8181
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
8282
qrcode = "0.14.1"
8383

84-
# We can't have "virtual-hid-device" a feature, because
84+
# We can't have "virtual-hid-device" a feature, because
8585
# we need to be able to publish libwebauthn to crates.io
8686
# and trussted-staging has sadly not been published, so we have
8787
# to use it as dev-dependencies instead. And dev-features do not exist.

0 commit comments

Comments
 (0)