cel-cxx 0.2.5

A high-performance, type-safe Rust interface for Common Expression Language (CEL), build on top of cel-cpp with zero-cost FFI bindings via cxx
Documentation
use super::{impl_from, impl_into, impl_typed};
use crate::{types::*, values::*};

impl_typed!(
    Duration: Value {
        Duration
    }
);

impl_into!(
    Duration: Value, Constant {
        Duration => |self| self,
    }
);

impl_from!(
    Duration: Value {
        Duration => |v| *v,
        &Duration as &'a Duration => |v| v,
    }
);