Cargo Features

cedar-policy-validator = { version = "3.2.1", default-features = false, features = ["ipaddr", "decimal", "arbitrary", "partial-validate", "wasm"] }
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


Enables Arbitrary implementations for several types in this crate

Enables arbitrary


Experimental features.

wasm = serde-wasm-bindgen, tsify, wasm-bindgen

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?