# 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 = "2021" name = "spawn-access-control" version = "0.1.12" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust library for access control management with WebAssembly support, including role-based access control (RBAC), permissions, and audit logging." homepage = "https://github.com/nzengi/access-control" documentation = "https://docs.rs/access-control" readme = "README.md" keywords = [ "WASM", "access-control", "blockchain", "WebAssembly", "Rust", ] categories = [ "cryptography", "web-programming", ] license = "MIT" repository = "https://github.com/nzengi/spawn-access-control" [lib] name = "spawn_access_control" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[bin]] name = "spawn_cli" path = "src/bin/spawn_cli.rs" [[test]] name = "integration_tests" path = "tests/integration_tests.rs" [[bench]] name = "benchmarks" path = "benches/benchmarks.rs" harness = false [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.21" [dependencies.bson] version = "2.8" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.clap] version = "4.0" features = ["derive"] [dependencies.console_error_panic_hook] version = "0.1" optional = true [dependencies.csv] version = "1.2" [dependencies.futures] version = "0.3" [dependencies.handlebars] version = "4.4" [dependencies.lettre] version = "0.11" features = [ "tokio1", "tokio1-native-tls", ] optional = true [dependencies.maxminddb] version = "0.23" [dependencies.metrics] version = "0.21" [dependencies.moka] version = "0.12" features = ["future"] [dependencies.mongodb] version = "2.8" [dependencies.ndarray] version = "0.15" [dependencies.opentelemetry] version = "0.20" optional = true [dependencies.prometheus] version = "0.13" optional = true [dependencies.rand] version = "0.8" [dependencies.rayon] version = "1.8" [dependencies.redis] version = "0.23" optional = true [dependencies.reqwest] version = "0.11" features = ["json"] [dependencies.ring] version = "0.17" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.6" optional = true [dependencies.serde_json] version = "1.0" [dependencies.smartcore] version = "0.3" features = ["serde"] [dependencies.sqlx] version = "0.7" features = [ "postgres", "runtime-tokio-native-tls", "chrono", "uuid", "json", ] [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.3" [dependencies.tokio] version = "1.0" features = ["full"] optional = true [dependencies.tracing] version = "0.1" [dependencies.uuid] version = "1.5" features = [ "v4", "serde", ] [dependencies.wasm-bindgen] version = "0.2" optional = true [dependencies.web-sys] version = "0.3" features = [ "Window", "Performance", "PerformanceTiming", "console", ] optional = true [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio-test] version = "0.4" [features] async = [ "tokio", "lettre", ] default = [ "wasm", "moka/future", "async", ] distributed = ["redis"] enterprise = [ "metrics", "distributed", "async", ] metrics = [ "prometheus", "opentelemetry", ] sync = ["moka/sync"] wasm = [ "wasm-bindgen", "web-sys", "console_error_panic_hook", "serde-wasm-bindgen", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.mio] version = "0.8" [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4"