37 stable releases
new 4.3.1 | Jan 23, 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 |
#1086 in Configuration
51,051 downloads per month
Used in 86 crates
(7 directly)
2MB
44K
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
~217K SLoC