Cargo Features

[dependencies]
slauth = { version = "0.7.6-beta.2", default-features = false, features = ["native-bindings", "u2f-server", "u2f", "webauthn-server", "webauthn", "auth-base", "android"] }
default = native-bindings, u2f-server, webauthn-server

These default features are set whenever slauth is added without default-features = false somewhere in the dependency tree.

native-bindings default

Affects slauth::strings

u2f-server default = u2f, webpki

Affects u2f::server

u2f u2f-server = auth-base, serde_repr, untrusted

Affects slauth::u2f

webauthn-server default = webauthn, webpki

Affects webauthn::server

webauthn webauthn-server = auth-base, bytes, ed25519-dalek, http, p256, serde_cbor, uuid

Affects slauth::webauthn, wasm::PasskeyAuthenticator, webauthn::authenticator, webauthn::error, webauthn::proto

auth-base u2f? webauthn? = base64, byteorder, ring, serde, serde_bytes, serde_derive, serde_json
android = jni

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

base64 auth-base?

Enables base64 ^0.13

byteorder auth-base?
ring auth-base?

Enables ring ^0.16

untrusted u2f?
serde auth-base?
serde_repr u2f?
serde_derive auth-base?
serde_bytes auth-base?
serde_json auth-base?
serde_cbor webauthn?
webpki u2f-server webauthn-server
bytes webauthn?
http webauthn?
uuid webauthn?
ed25519-dalek webauthn?
p256 webauthn?
jni android android?

Enables jni ^0.20