remove unused webauthn features. (#3286)

While improving the webauthn feature handling yesterday I accidentally left mozilla enabled on linux which doesn't need it and u2fhid on macos.

In the future the plan is to swap fully to u2fhid, but in the mean time we need mozilla for freebsd support. That's something I'll need to work on later with @micolous.
This commit is contained in:
Firstyear 2024-12-13 13:19:10 +10:00 committed by GitHub
parent 5dfba2a0ef
commit a8d149db16
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,29 +74,23 @@ serde_json = { workspace = true }
uuid = { workspace = true }
url = { workspace = true }
## See src/cli/webauthn/mod.rs for which features are
## required for which target_os here
[target."cfg(target_os = \"windows\")".dependencies.webauthn-authenticator-rs]
workspace = true
features = ["win10"]
[target."cfg(target_os = \"linux\")".dependencies.webauthn-authenticator-rs]
workspace = true
features = [
"u2fhid",
"mozilla",
]
features = ["u2fhid"]
[target."cfg(target_os = \"macos\")".dependencies.webauthn-authenticator-rs]
workspace = true
features = [
"u2fhid",
"mozilla",
]
features = ["mozilla"]
[target."cfg(target_os = \"freebsd\")".dependencies.webauthn-authenticator-rs]
workspace = true
features = [
"mozilla",
]
features = ["mozilla"]
## Debian packaging
[package.metadata.deb]