41 stable releases

4.3.3 Feb 25, 2025
4.3.1 Jan 23, 2025
4.2.2 Nov 11, 2024
3.4.1 Sep 23, 2024
2.3.1 Jul 20, 2023

#765 in Configuration

Download history 14888/week @ 2024-11-16 17209/week @ 2024-11-23 14507/week @ 2024-11-30 14554/week @ 2024-12-07 14487/week @ 2024-12-14 6129/week @ 2024-12-21 6199/week @ 2024-12-28 14405/week @ 2025-01-04 16107/week @ 2025-01-11 13990/week @ 2025-01-18 16674/week @ 2025-01-25 20489/week @ 2025-02-01 24188/week @ 2025-02-08 34739/week @ 2025-02-15 36622/week @ 2025-02-22 38496/week @ 2025-03-01

137,749 downloads per month
Used in 95 crates (3 directly)

Apache-2.0

3.5MB
78K SLoC

Cedar Policy Validator

This package contains the validator for Cedar policies.

This package exposes low-level and advanced APIs for Cedar policy validation. Anyone simply wanting to use Cedar from a Rust client (e.g., to validate that policies do not contain run time type errors) should use cedar-policy instead.

Development

Build and test this crate independently by running cargo build and cargo test from this directory. Run these commands from the root directory of this repository to build and test this package and all other crates in this repository. Some crates consume this crate as a dependency, so a change here may precipitate test failures elsewhere.

Documentation

Generated documentation for the latest version can be accessed on docs.rs.


lib.rs:

Validator for Cedar policies

Dependencies

~8–19MB
~265K SLoC