Skip to main content

Crate cel_std

Crate cel_std 

Source
Expand description

CEL standard library: min, max, clamp, and related numeric functions built on Rust’s standard library, registered via [cel_parser::OpLookup::register_operation].

§Examples

use cel_parser::OpLookup;

let mut lookup = OpLookup::new();
cel_std::install(&mut lookup);

Functions§

install
Registers the CEL numeric standard library on lookup.