Skip to main content

fel_core/
wire_style.rs

1//! Host JSON key convention shared across FEL dependency wire and Formspec FFI surfaces.
2
3/// JSON object key style for WASM (`camelCase`) vs Python (`snake_case`) bindings.
4#[derive(Debug, Clone, Copy, PartialEq, Eq)]
5pub enum JsonWireStyle {
6    /// JavaScript / `wasm-bindgen` (camelCase keys).
7    JsCamel,
8    /// Python `formspec_rust` surface (snake_case keys).
9    PythonSnake,
10}