27 stable releases

3.2.1 May 31, 2024
3.1.3 Apr 15, 2024
3.1.2 Mar 29, 2024
3.0.1 Dec 21, 2023
2.3.1 Jul 20, 2023

#309 in Configuration

Download history 7838/week @ 2024-03-05 8475/week @ 2024-03-12 9286/week @ 2024-03-19 7484/week @ 2024-03-26 8864/week @ 2024-04-02 9178/week @ 2024-04-09 9060/week @ 2024-04-16 8405/week @ 2024-04-23 9036/week @ 2024-04-30 9597/week @ 2024-05-07 7796/week @ 2024-05-14 8436/week @ 2024-05-21 8597/week @ 2024-05-28 8298/week @ 2024-06-04 9121/week @ 2024-06-11 6218/week @ 2024-06-18

33,635 downloads per month
Used in 63 crates (3 directly)

Apache-2.0

2.5MB
56K 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
~217K SLoC