Decision Engine
Sign Up Now →Sign Up Now

Rust

helixor-sdk-gen 0.1.0 generates both typed OpenAPI clients and embedded decision bindings as Cargo crates.

OpenAPI generation availableEmbedded generation availableCargo

OpenAPI client#

The generated crate uses serde models, asynchronous reqwest operations, rustls, JSON Schema validation and a Tokio runtime. Operation methods use snake_case names. Optional values preserve the difference between an omitted field and an explicit JSON null.

package_name: example-sdk
package_version: 0.1.0
languages: [rust]
base_url: https://api.example.test
cargo check --manifest-path generated-sdk/rust/Cargo.toml
cargo package --manifest-path generated-sdk/rust/Cargo.toml

Embedded decision binding#

The embedded crate emits typed domain state, decision models, a client and an application-owned native runtime loader. Supply an explicit compatible native runtime 1.x library at version 1.1.0 or newer, a signed license and the original sealed pack. Loading is unsafe because the application must provide an ABI-compatible trusted library; the runtime owner shuts down on drop.

helix-sdk-gen generate-embedded embedded-pack-manifest.json --lang rust --out generated-embedded

Native failures, obsolete runtime versions, malformed results and output-buffer errors fail explicitly. The generated crate contains no native runtime binary and provides no evaluator or REST fallback.

See SDK generation for the full language matrix and publication-status boundary.