Docs.rs
  • cedar-policy-core-3.4.1
    • cedar-policy-core 3.4.1
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • aaronjeline
    • github:cedar-policy:devs
    • Dependencies
      • arbitrary ^1 normal optional
      • either ^1.8 normal
      • itertools ^0.12 normal
      • lalrpop-util ^0.20.0 normal
      • lazy_static ^1.4 normal
      • miette ^7.1.0 normal
      • nonempty ^0.10.0 normal
      • regex ^1.8 normal optional
      • rustc_lexer ^0.1 normal
      • serde ^1.0 normal
      • serde-wasm-bindgen ^0.6 normal optional
      • serde_json ^1.0 normal
      • serde_with ^3.0 normal
      • smol_str ^0.2 normal
      • stacker ^0.1.15 normal
      • thiserror ^1.0 normal
      • tsify ^0.4.5 normal optional
      • wasm-bindgen ^0.2.82 normal optional
      • cool_asserts ^2.0 dev
      • lalrpop ^0.20.0 build
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • Rust
    • About docs.rs
    • Privacy policy
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate cedar_policy_core

cedar_policy_core3.4.1

  • All Items

Crate Items

  • Modules
  • Traits

Crates

  • cedar_policy_core
?
Settings

Crate cedar_policy_core

source ·
Expand description

Implementation of the Cedar parser and evaluation engine in Rust.

Modules§

  • ast
    This module contains the AST datatypes.
  • authorizer
    This module contains the Cedar “authorizer”, which implements the actual authorization logic.
  • entities
    This module contains the Entities type and related functionality.
  • est
    This module contains the External Syntax Tree (EST)
  • evaluator
    This module contains the Cedar evaluator.
  • extensions
    This module contains all of the standard Cedar extensions.
  • jsonvalue
    This module provides general-purpose JSON utilities not specific to Cedar.
  • parser
    This module contains the parser for the Cedar language.
  • transitive_closure
    Module containing code to compute the transitive closure of a graph. This is a generic utility, and not specific to Cedar.

Traits§

  • FromNormalizedStr
    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.

Results

trait
cedar_policy_core::ast::ExtensionValue
Extension value.
enum variant
cedar_policy_core::ast::ValueKind::ExtensionValue
Evaluating an Expr can result in an extension value
struct
cedar_policy_core::ast::ExtensionValueWithArgs
Object container for extension values, also stores the …
trait
cedar_policy_core::ast::InternalExtensionValue
Extensions provide a type implementing ExtensionValue, Eq, …
struct field
cedar_policy_core::evaluator::EvaluationErrorKind::FailedExtensionFunctionApplication::extension_name
Name of the extension throwing the error
trait method
cedar_policy_core::ast::ExtensionValue::typename
Get the name of the type of this value.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.