cedar-policy 4.2.2

Cedar is a language for defining permissions as policies, which describe who should have access to what.
Documentation
[[bench]]
harness = false
name = "attr_errors"
path = "benches/attr_errors.rs"

[[bench]]
harness = false
name = "cedar_benchmarks"
path = "benches/cedar_benchmarks.rs"

[[bench]]
harness = false
name = "deeply_nested_est"
path = "benches/deeply_nested_est.rs"

[[bench]]
harness = false
name = "entity_attr_errors"
path = "benches/entity_attr_errors.rs"

[[bench]]
harness = false
name = "extension_fn_validation"
path = "benches/extension_fn_validation.rs"

[dependencies.cedar-policy-core]
version = "=4.2.2"

[dependencies.cedar-policy-formatter]
version = "=4.2.2"

[dependencies.cedar-policy-validator]
version = "=4.2.2"

[dependencies.dhat]
optional = true
version = "0.3.2"

[dependencies.itertools]
version = "0.13"

[dependencies.lalrpop-util]
features = ["lexer"]
version = "0.22.0"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.miette]
version = "7.1.0"

[dependencies.nonempty]
version = "0.10"

[dependencies.ref-cast]
version = "1.0"

[dependencies.semver]
version = "1.0.23"

[dependencies.serde]
features = ["derive", "rc"]
version = "1.0"

[dependencies.serde-wasm-bindgen]
optional = true
version = "0.6"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_with]
version = "3.3.0"

[dependencies.smol_str]
features = ["serde"]
version = "0.3"

[dependencies.thiserror]
version = "1.0"

[dependencies.tsify]
optional = true
version = "0.4.5"

[dependencies.wasm-bindgen]
optional = true
version = "0.2.82"

[dev-dependencies.cedar-policy-core]
features = ["test-util"]
version = "=4.2.2"

[dev-dependencies.cool_asserts]
version = "2.0"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.globset]
version = "0.4"

[dev-dependencies.miette]
features = ["fancy"]
version = "7.1.0"

[dev-dependencies.oorandom]
version = "11.1"

[dev-dependencies.proptest]
version = "1.0.0"

[features]
corpus-timing = []
decimal = ["cedar-policy-core/decimal", "cedar-policy-validator/decimal"]
default = ["ipaddr", "decimal"]
entity-manifest = ["cedar-policy-validator/entity-manifest"]
experimental = ["partial-eval", "permissive-validate", "partial-validate", "level-validate", "entity-manifest"]
heap-profiling = ["dep:dhat"]
ipaddr = ["cedar-policy-core/ipaddr", "cedar-policy-validator/ipaddr"]
level-validate = ["cedar-policy-validator/level-validate"]
partial-eval = ["cedar-policy-core/partial-eval", "cedar-policy-validator/partial-eval"]
partial-validate = ["cedar-policy-validator/partial-validate"]
permissive-validate = []
wasm = ["serde-wasm-bindgen", "tsify", "wasm-bindgen"]

[lib]
crate-type = ["rlib", "cdylib"]
name = "cedar_policy"
path = "src/lib.rs"

[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["compilers", "config"]
description = "Cedar is a language for defining permissions as policies, which describe who should have access to what."
edition = "2021"
homepage = "https://cedarpolicy.com"
keywords = ["cedar", "authorization", "policy", "security"]
license = "Apache-2.0"
name = "cedar-policy"
readme = "README.md"
repository = "https://github.com/cedar-policy/cedar"
rust-version = "1.77"
version = "4.2.2"

[package.metadata.docs.rs]
features = ["experimental"]
rustdoc-args = ["--cfg", "docsrs"]

[[test]]
name = "public_interface"
path = "tests/public_interface.rs"