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!(
    Double: Value {
        f64,
        f32
    }
);

impl_into!(
    Double: Value, Constant {
        f64 => |self| self,
        f32 => |self| self as f64,
    }
);

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