42 stable releases

new 4.5.0 Jun 30, 2025
4.4.0 Apr 23, 2025
4.3.3 Feb 25, 2025
4.2.2 Nov 11, 2024
2.3.1 Jul 20, 2023

#519 in Programming languages

Download history 43314/week @ 2025-03-10 47539/week @ 2025-03-17 43531/week @ 2025-03-24 38981/week @ 2025-03-31 43268/week @ 2025-04-07 40807/week @ 2025-04-14 38997/week @ 2025-04-21 37597/week @ 2025-04-28 41787/week @ 2025-05-05 40765/week @ 2025-05-12 49780/week @ 2025-05-19 51335/week @ 2025-05-26 38213/week @ 2025-06-02 34976/week @ 2025-06-09 37028/week @ 2025-06-16 42494/week @ 2025-06-23

154,524 downloads per month
Used in 96 crates (5 directly)

Apache-2.0

4MB
85K SLoC

Cedar Policy Core

This package contains the Cedar parser and evaluation engine.

This package exposes low-level and advanced Cedar APIs, e.g., for interacting with policy ASTs directly. Anyone simply wanting to use Cedar from a Rust client (e.g., to make authorization decisions) should use cedar-policy instead.

For more information about the Cedar language/project, please take a look at cedarpolicy.com.

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. This crate is consumed either directly or indirectly by all other crates in this repository, so a change here may precipitate test failures elsewhere.

Documentation

Generated documentation for the latest version can be accessed on docs.rs.

Dependencies

~9–20MB
~278K SLoC