Expand description
Implementation of the Cedar parser and evaluation engine in Rust.
Modules§
- This module contains the AST datatypes.
- This module contains the Cedar “authorizer”, which implements the actual authorization logic.
- This module contains the
Entities
type and related functionality. - This module contains the External Syntax Tree (EST)
- This module contains the Cedar evaluator.
- This module contains all of the standard Cedar extensions.
- This module provides the fuzzy matching utility used to make suggestions when encountering unknown values in entities, functions, etc.
- This module provides general-purpose JSON utilities not specific to Cedar.
- This module contains the parser for the Cedar language.
- Module containing code to compute the transitive closure of a graph. This is a generic utility, and not specific to Cedar.
Macros§
- Macro which implements the
.labels()
and.source_code()
methods ofmiette::Diagnostic
by using the parameter$i
which must be anExpr
(orBox<Expr>
) type field. - Macro which implements the
.labels()
and.source_code()
methods ofmiette::Diagnostic
by using the parameter$i
which must be the name of a field of typeLoc
- Macro which implements the
.labels()
and.source_code()
methods ofmiette::Diagnostic
by using the parameter$i
which must be the name of a field of typeOption<Loc>
- Macro which implements the
.labels()
and.source_code()
methods ofmiette::Diagnostic
by using the parameters$i
and$j
which must be names of fields of typeLoc
. Both locations will be underlined. It is assumed they have the samesrc
. - Macro which implements the
.labels()
and.source_code()
methods ofmiette::Diagnostic
by using the parameters$i
and$j
which must be the names of fields of typeOption<Loc>
. Both locations will be underlined, if both locs are present. It is assumed that both locs have the samesrc
, if both locs are present.
Traits§
- Trait for parsing “normalized” strings only, throwing an error if a non-normalized string is encountered. See docs on the
FromNormalizedStr::from_normalized_str
trait function.