Skip to main content

Module rust

Module rust 

Source

Structs§

RustAliasedStackOutput
RustCompositionConfig
RustCompositionOutput
RustConfig
RustOutput
RustProgramOutput
Rust output for a standalone program SDK.
RustProgramReadConfig
RustStackConfig

Functions§

compile_composed_public_artifacts_v2
Generate one namespaced Rust stack module per live alias plus a manifest module that preserves alias boundaries instead of flattening views/adapters.
compile_program_modules
Compile only the portable program surface: generated account/model types, instruction builders, PDA helpers, read descriptors, and a ProgramSdk aggregate. No entity, view, or stack binding is emitted.
compile_public_artifacts
Compile Rust output from an explicit StackManifest and its public dependencies.
compile_public_artifacts_v2
Compile typed V2 public artifacts through the current single-live generator.
compile_serializable_spec
compile_stack_spec
Compile a full SerializableStackSpec (multi-entity) into unified Rust output.
compile_stack_spec_with_exact_views
Compile a stack model whose views have already been projected by a StackManifest selected-view allowlist.
rust_module_name
Derive a valid Rust module name from an arbitrary alias or file stem (lowercased, non-alphanumerics collapsed to _, keywords and leading digits escaped). Shared with the CLI so staged devex extension files wire up under the same stems the composition generator would use.
write_rust_composition_crate
write_rust_composition_module
write_rust_crate
write_rust_module
write_rust_program_crate
write_rust_program_module