40 stable releases

new 4.3.2 Feb 12, 2025
4.2.2 Nov 11, 2024
3.4.1 Sep 23, 2024
3.2.1 May 31, 2024
2.3.1 Jul 20, 2023

#775 in Configuration

Download history 12528/week @ 2024-10-29 11498/week @ 2024-11-05 14913/week @ 2024-11-12 14485/week @ 2024-11-19 16777/week @ 2024-11-26 13856/week @ 2024-12-03 14739/week @ 2024-12-10 13666/week @ 2024-12-17 5286/week @ 2024-12-24 7732/week @ 2024-12-31 15245/week @ 2025-01-07 16102/week @ 2025-01-14 14523/week @ 2025-01-21 16799/week @ 2025-01-28 22906/week @ 2025-02-04 24121/week @ 2025-02-11

81,529 downloads per month
Used in 93 crates (4 directly)

Apache-2.0

3.5MB
79K 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

~9–19MB
~273K SLoC