[package]
name = "cedar-policy-core"
edition = "2021"
build = "build.rs"
version = "2.0.5"
license-file = "../LICENSE"
license = "Apache-2.0"
categories = ["compilers", "config"]
description = "Core implemenation of the Cedar Policy language."
keywords = ["cedar", "authorization", "policy", "security"]
homepage = "https://cedarpolicy.com"
repository = "https://github.com/cedar-policy/cedar"
[dependencies]
serde = { version = "1.0", features = ["derive", "rc"] }
serde_with = { version = "3.0", features = ["json"] }
serde_json = "1.0"
lalrpop-util = { version = "0.19.12", features = ["lexer"] }
lazy_static = "1.4"
either = "1.8"
itertools = "0.10"
rustc_lexer = "0.1"
thiserror = "1.0"
smol_str = { version = "0.2", features = ["serde"] }
ipnet = { version = "2.5.0", optional = true }
regex = { version = "1.8", features = ["unicode"] }
arbitrary = { version = "1", features = ["derive"] }
stacker = "0.1.15"
[features]
default = ["ipaddr", "decimal"]
ipaddr = ["dep:ipnet"]
decimal = []
[build-dependencies]
lalrpop = "0.19.12"
[dev-dependencies]
cool_asserts = "2.0"