Cargo Features

[dependencies]
cedar-policy-validator = { version = "4.2.2", default-features = false, features = ["ipaddr", "decimal", "partial-eval", "arbitrary", "partial-validate", "level-validate", "wasm", "entity-manifest"] }
default = decimal, ipaddr

by default, enable all Cedar extensions

ipaddr default

when enabling a feature, make sure that the Core feature is also enabled

Enables ipaddr of cedar-policy-core

Affects extensions::ipaddr

decimal default

Enables decimal of cedar-policy-core

Affects extensions::decimal

partial-eval

Enables partial-eval of cedar-policy-core

cedar-policy-core:

Experimental features.

arbitrary

Enables Arbitrary implementations for several types in this crate

Enables arbitrary, arbitrary of cedar-policy-core

partial-validate

Experimental features.

level-validate
wasm = serde-wasm-bindgen, tsify, wasm-bindgen
entity-manifest

Affects cedar-policy-validator::entity_manifest

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde-wasm-bindgen wasm?

Enables serde-wasm-bindgen

wasm dependencies

tsify wasm?
wasm-bindgen wasm?