Expand description
Go-Rust FFI bridge for CUE evaluation
This crate provides a safe Rust interface to the Go-based CUE evaluator. It handles all FFI operations, memory management, and error handling for calling Go functions from Rust.
Re-exports§
pub use error::CueEngineError;pub use error::Result;pub use retry::RetryConfig;pub use validation::Limits;
Modules§
- cache
- Cache implementation for CUE evaluation results
- error
- Error types for CUE evaluation
- retry
- Retry logic with exponential backoff
- validation
- Input validation functions
Structs§
- CString
Ptr - RAII wrapper for C strings returned from FFI Ensures proper cleanup when the wrapper goes out of scope
- Field
Meta - Source location metadata for a single field
- Module
Eval Options - Options for module evaluation
- Module
Result - Result of evaluating an entire CUE module
Functions§
- evaluate_
cue_ package - Convenience wrapper around
evaluate_modulefor single-directory evaluation. - evaluate_
cue_ package_ typed - Evaluates a CUE package and returns the result as a typed struct
- evaluate_
module - Evaluates CUE instances in a module and returns results with optional source metadata
- get_
bridge_ version - Gets the bridge version information from the Go side