37 stable releases

4.2.2 Nov 11, 2024
4.1.0 Sep 30, 2024
3.4.1 Sep 23, 2024
3.2.1 May 31, 2024
2.3.1 Jul 20, 2023

#237 in Configuration

Download history 11229/week @ 2024-07-30 12483/week @ 2024-08-06 12878/week @ 2024-08-13 12555/week @ 2024-08-20 11407/week @ 2024-08-27 12544/week @ 2024-09-03 12481/week @ 2024-09-10 10852/week @ 2024-09-17 9668/week @ 2024-09-24 9713/week @ 2024-10-01 7667/week @ 2024-10-08 12858/week @ 2024-10-15 13509/week @ 2024-10-22 12528/week @ 2024-10-29 11498/week @ 2024-11-05 11619/week @ 2024-11-12

51,726 downloads per month
Used in 80 crates (3 directly)

Apache-2.0

3MB
70K 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–18MB
~264K SLoC