| Crates.io | cel-cxx-macros |
| lib.rs | cel-cxx-macros |
| version | 0.2.1 |
| created_at | 2025-06-24 14:29:20.390817+00 |
| updated_at | 2025-08-14 13:45:17.158139+00 |
| description | Macros for the cel-cxx crate |
| homepage | https://github.com/xjasonli/cel-cxx |
| repository | https://github.com/xjasonli/cel-cxx |
| max_upload_size | |
| id | 1724391 |
| size | 16,089 |
Procedural macros for the cel-cxx crate.
This crate provides derive macros that enable seamless integration of custom Rust types with CEL expressions.
#[derive(Opaque)]Automatically implements the necessary traits to use custom Rust types in CEL expressions:
use cel_cxx_macros::Opaque;
#[derive(Opaque, Debug, Clone)]
#[cel_cxx(type = "myapp.User")]
#[cel_cxx(display)]
struct User {
name: String,
age: i32,
}
Licensed under the Apache License 2.0. See the LICENSE file for details.