# 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" rust-version = "1.77" name = "cedar-policy-validator" version = "4.2.2" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Validator for the Cedar Policy language." homepage = "https://cedarpolicy.com" readme = "README.md" keywords = [ "cedar", "authorization", "policy", "security", ] categories = [ "compilers", "config", ] license = "Apache-2.0" repository = "https://github.com/cedar-policy/cedar" [lib] name = "cedar_policy_validator" path = "src/lib.rs" [dependencies.arbitrary] version = "1" features = ["derive"] optional = true [dependencies.cedar-policy-core] version = "=4.2.2" [dependencies.itertools] version = "0.13" [dependencies.lalrpop-util] version = "0.22.0" features = [ "lexer", "unicode", ] [dependencies.lazy_static] version = "1.4.0" [dependencies.miette] version = "7.1.0" [dependencies.nonempty] version = "0.10.0" [dependencies.ref-cast] version = "1.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.6" optional = true [dependencies.serde_json] version = "1.0" features = ["preserve_order"] [dependencies.serde_with] version = "3.0" [dependencies.smol_str] version = "0.3" features = ["serde"] [dependencies.stacker] version = "0.1.15" [dependencies.thiserror] version = "1.0" [dependencies.tsify] version = "0.4.5" optional = true [dependencies.unicode-security] version = "0.1.0" [dependencies.wasm-bindgen] version = "0.2.82" optional = true [dev-dependencies.cedar-policy-core] version = "=4.2.2" features = ["test-util"] [dev-dependencies.cool_asserts] version = "2.0" [dev-dependencies.miette] version = "7.1.0" features = ["fancy"] [dev-dependencies.similar-asserts] version = "1.5.0" [build-dependencies.lalrpop] version = "0.22.0" [features] arbitrary = [ "dep:arbitrary", "cedar-policy-core/arbitrary", ] decimal = ["cedar-policy-core/decimal"] default = [ "ipaddr", "decimal", ] entity-manifest = [] ipaddr = ["cedar-policy-core/ipaddr"] level-validate = [] partial-eval = ["cedar-policy-core/partial-eval"] partial-validate = [] wasm = [ "serde-wasm-bindgen", "tsify", "wasm-bindgen", ]