MCPcopy Create free account
hub / github.com/cel-rust/cel-rust / main

Function main

example/src/simple.rs:3–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1use cel::{Context, Program};
2
3fn main() {
4 let program = Program::compile("1 == 1").unwrap();
5 let context = Context::default();
6 let value = program.execute(&context).unwrap();
7 assert_eq!(value, true.into());
8}

Callers

nothing calls this directly

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected