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

#241 in Configuration

Download history 13344/week @ 2024-08-17 10955/week @ 2024-08-24 12750/week @ 2024-08-31 11951/week @ 2024-09-07 11546/week @ 2024-09-14 10103/week @ 2024-09-21 10069/week @ 2024-09-28 7543/week @ 2024-10-05 11703/week @ 2024-10-12 13466/week @ 2024-10-19 12094/week @ 2024-10-26 12863/week @ 2024-11-02 12797/week @ 2024-11-09 14888/week @ 2024-11-16 17209/week @ 2024-11-23 14470/week @ 2024-11-30

61,548 downloads per month
Used in 84 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–19MB
~263K SLoC