Cargo Features

[dependencies]
biscuit-auth = { version = "5.0.0", default-features = false, features = ["regex-full", "capi", "wasm", "serde-error", "datalog-macro", "bwk", "uuid", "docsrs", "pem"] }
default = datalog-macro, regex-full

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

regex-full default

Enables perf and unicode of regex

capi = inline-c

used by cargo-c to signal the compilation of C bindings

wasm = wasm-bindgen

Enables wasm-bindgen of getrandom ^0.1.16

serde-error = serde

used by biscuit-wasm to serialize errors to JSON

Enables serde-error of biscuit-parser

datalog-macro default = biscuit-quote

used by biscuit-quote to parse datalog at compile-time

Affects biscuit-auth::macros, builder::AnyParam, builder::ToAnyParam

bwk = chrono, serde

used to expose public key information in a standard format

uuid

Enables uuid

docsrs
pem

used to expose pem/der loaders for keypairs

Enables pem of ed25519-dalek

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.

inline-c capi?
wasm-bindgen wasm?
serde bwk? serde-error?
biscuit-quote datalog-macro
chrono bwk?