cedar-policy-core 2.0.0

Core implemenation of the Cedar Policy language.
Documentation
[package]
name = "cedar-policy-core"
edition = "2021"
build = "build.rs"

version = "2.0.0"
license-file = "../LICENSE"
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/cedar-policy"

[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"] }

# ipaddr extension requires ipnet
ipnet = { version = "2.5.0", optional = true }

# decimal extension requires regex
regex = { version = "1.8", features = ["unicode"] }

# Fuzzer requires arbitrary
arbitrary = { version = "1", features = ["derive"] }
stacker = "0.1.15"

[features]
# by default, enable all Cedar extensions
default = ["ipaddr", "decimal"]
ipaddr = ["dep:ipnet"]
decimal = []

[build-dependencies]
lalrpop = "0.19.12"

[dev-dependencies]
cool_asserts = "2.0"