22 stable releases

3.1.3 Apr 15, 2024
3.1.2 Mar 29, 2024
3.0.1 Dec 21, 2023
2.4.5 Apr 1, 2024
2.3.1 Jul 20, 2023

#273 in Configuration

Download history 5832/week @ 2024-01-24 6379/week @ 2024-01-31 7150/week @ 2024-02-07 7824/week @ 2024-02-14 8491/week @ 2024-02-21 6511/week @ 2024-02-28 8122/week @ 2024-03-06 8677/week @ 2024-03-13 9143/week @ 2024-03-20 7698/week @ 2024-03-27 9208/week @ 2024-04-03 9145/week @ 2024-04-10 8520/week @ 2024-04-17 8330/week @ 2024-04-24 9597/week @ 2024-05-01 7539/week @ 2024-05-08

36,009 downloads per month
Used in 58 crates (3 directly)

Apache-2.0

2.5MB
54K 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

~7–11MB
~212K SLoC