19 stable releases

3.1.1 Mar 14, 2024
3.0.1 Dec 21, 2023
2.4.4 Mar 8, 2024
2.4.3 Dec 21, 2023
2.3.1 Jul 20, 2023

#154 in Configuration

Download history 5713/week @ 2023-12-04 6129/week @ 2023-12-11 5366/week @ 2023-12-18 2558/week @ 2023-12-25 3911/week @ 2024-01-01 5475/week @ 2024-01-08 6535/week @ 2024-01-15 5827/week @ 2024-01-22 6179/week @ 2024-01-29 6812/week @ 2024-02-05 7741/week @ 2024-02-12 8169/week @ 2024-02-19 7249/week @ 2024-02-26 7290/week @ 2024-03-04 8813/week @ 2024-03-11 8344/week @ 2024-03-18

32,179 downloads per month
Used in 51 crates (3 directly)

Apache-2.0

2.5MB
53K 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
~208K SLoC