Expand description
Tunable resource limits for in-process scripting engines (Rhai, Boa JS).
These types live in camel-language-api (the lowest shared language contract
crate) to avoid a circular dependency: camel-language-rhai / camel-language-js
already depend on camel-language-api, so the limit types must be defined here
rather than in camel-config (which those crates cannot depend on).
All fields are Option; None means “use the rust-camel runtime default” —
never the upstream engine’s unlimited default (per ADR-0011). The resolve
functions in each language crate document the concrete defaults.
Structs§
- JsEngine
Config - JS (Boa) engine configuration block in
Camel.toml. - JsLimits
Config - Tunable resource limits for a single Boa JS
Contextinstance. - Languages
Config - Top-level
[languages]section inCamel.toml. - Rhai
Engine Config - Rhai engine configuration block in
Camel.toml. - Rhai
Limits Config - Tunable resource limits for a single Rhai
Engineinstance.