35 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

#1062 in Configuration

Download history 12447/week @ 2024-08-30 11918/week @ 2024-09-06 11585/week @ 2024-09-13 11114/week @ 2024-09-20 9451/week @ 2024-09-27 8333/week @ 2024-10-04 10132/week @ 2024-10-11 13443/week @ 2024-10-18 12814/week @ 2024-10-25 12788/week @ 2024-11-01 13013/week @ 2024-11-08 14835/week @ 2024-11-15 16559/week @ 2024-11-22 15196/week @ 2024-11-29 14193/week @ 2024-12-06 11603/week @ 2024-12-13

60,220 downloads per month
Used in 86 crates (6 directly)

Apache-2.0

2MB
39K 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.


lib.rs:

Implementation of the Cedar parser and evaluation engine in Rust.

Dependencies

~6–16MB
~206K SLoC