mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 04:27:02 +01:00
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:
parent
5dfba2a0ef
commit
a8d149db16
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue