fel-core 0.3.0

Formspec Expression Language — parser, evaluator, and dependency analysis
Documentation
1
2
3
4
5
6
7
8
9
10
//! Host JSON key convention shared across FEL dependency wire and Formspec FFI surfaces.

/// JSON object key style for WASM (`camelCase`) vs Python (`snake_case`) bindings.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum JsonWireStyle {
    /// JavaScript / `wasm-bindgen` (camelCase keys).
    JsCamel,
    /// Python `formspec_rust` surface (snake_case keys).
    PythonSnake,
}