rscel 1.0.8

Cel interpreter in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::macros::dispatch;

pub use replace::dispatch as replace;

#[dispatch]
mod replace {
    use crate::CelValue;

    fn replace(this: String, needle: String, to: String) -> String {
        this.replace(&needle, &to)
    }
}