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
60,220 downloads per month
Used in 86 crates
(6 directly)
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