Cargo Features

[dependencies]
cedar-policy-core = { version = "4.2.2", default-features = false, features = ["ipaddr", "decimal", "arbitrary", "test-util", "partial-eval", "wasm"] }
default = decimal, ipaddr

by default, enable all Cedar extensions

ipaddr default

Affects extensions::ipaddr

decimal default

Enables regex

decimal extension requires regex

Affects extensions::decimal

arbitrary

Enables Arbitrary implementations for several types in this crate

Enables arbitrary

test-util

Expose test utilities

partial-eval

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?