# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "biscuit-auth" version = "5.0.0" authors = ["Geoffroy Couprie "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "an authorization token with decentralized verification and offline attenuation" homepage = "https://github.com/biscuit-auth/biscuit" documentation = "https://docs.rs/biscuit-auth" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/biscuit-auth/biscuit-rust" [package.metadata.capi.library] include = [ "Cargo.toml", "cbindgen.toml", "build.rs", "examples/*.rs", "LICENSE", "README.md", "src/*.rs", "src/*/*.rs", "tests/*.rs", ] name = "biscuit_auth" [lib] name = "biscuit_auth" path = "src/lib.rs" [[example]] name = "printer" path = "examples/printer.rs" [[example]] name = "testcases" path = "examples/testcases.rs" required-features = ["serde-error"] [[example]] name = "third_party" path = "examples/third_party.rs" [[example]] name = "verifying_printer" path = "examples/verifying_printer.rs" [[test]] name = "capi" path = "tests/capi.rs" [[test]] name = "macros" path = "tests/macros.rs" [[test]] name = "rights" path = "tests/rights.rs" [[bench]] name = "token" path = "benches/token.rs" harness = false [dependencies.base64] version = "0.13.0" [dependencies.biscuit-parser] version = "0.1.2" [dependencies.biscuit-quote] version = "0.2.2" optional = true [dependencies.chrono] version = "0.4.26" features = ["serde"] optional = true default-features = false [dependencies.ed25519-dalek] version = "2.0.0" features = [ "rand_core", "zeroize", ] [dependencies.getrandom] version = "0.1.16" [dependencies.hex] version = "0.4" [dependencies.inline-c] version = "0.1" optional = true [dependencies.nom] version = "7" features = ["std"] default-features = false [dependencies.prost] version = "0.10" [dependencies.prost-types] version = "0.10" [dependencies.rand] version = "0.8" [dependencies.rand_core] version = "^0.6" [dependencies.regex] version = "1.5" features = ["std"] default-features = false [dependencies.serde] version = "1.0.132" features = ["derive"] optional = true [dependencies.sha2] version = "^0.9" [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3.7" features = [ "formatting", "parsing", ] [dependencies.uuid] version = "1" optional = true [dependencies.wasm-bindgen] version = "0.2" optional = true [dependencies.zeroize] version = "1" default-features = false [dev-dependencies.bencher] version = "0.1.5" [dev-dependencies.chrono] version = "0.4.26" features = [ "serde", "clock", ] [dev-dependencies.codspeed-bencher-compat] version = "2.6.0" [dev-dependencies.colored-diff] version = "0.2.3" [dev-dependencies.prost-build] version = "0.10" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1.0.130" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.67" [features] bwk = [ "chrono", "serde", ] capi = ["inline-c"] datalog-macro = ["biscuit-quote"] default = [ "regex-full", "datalog-macro", ] docsrs = [] pem = ["ed25519-dalek/pem"] regex-full = [ "regex/perf", "regex/unicode", ] serde-error = [ "serde", "biscuit-parser/serde-error", ] uuid = ["dep:uuid"] wasm = [ "wasm-bindgen", "getrandom/wasm-bindgen", ]