Expand description
js2rust.toml configuration types and loading logic.
Single source of truth for TOML configuration, shared by:
js2rust-bridge(build.rs path)js2rust-bridge-macro(proc-macro path)
Both crates previously duplicated these types and the loading function. Now they both delegate here.
Structs§
- Build
Section [build]section — controls build.rs behavior.- Host
FnToml - A single
[[host_functions]]entry. - Js2rust
Config - Root structure of
js2rust.toml. - Project
Section [project]section.
Functions§
- pascal_
case - Convert snake_case to PascalCase.