Skip to main content

Crate dioxuscut_cli

Crate dioxuscut_cli 

Source
Expand description

CLI options, validation, native composition registry, and render execution.

Modules§

composition
Backwards-compatible re-exports for the shared composition crate.

Structs§

Cli
Dioxuscut CLI — render registered Rust or Rhai compositions to video.
CompositionRegistry
Deterministic registry used by preview and export clients to resolve composition IDs.
HelloWorldComposition
Built-in native composition used by the quickstart and acceptance tests.
NativeCompositionContext
Immutable render parameters supplied to every native composition frame.
RenderRequest
A validated render request independent from argument parsing.

Enums§

Commands
CompositionError
Errors produced while preparing or rendering a composition.
CompositionRegistryError
Errors produced while building or querying a composition registry.
RenderBackend
Native render backend selection.
RenderCodec
Output codec or still-image format.
ValidationError
Error types for CLI input parameter validation.

Traits§

Composition
General composition contract used by the registry.
NativeComposition
A browser-free Rust composition that produces one rasterizer scene per frame.
PreparedComposition
A composition instance prepared once for a complete render job.

Functions§

built_in_registry
Registry shipped by the standalone dioxuscut binary.
default_render_control
Build the standard CLI progress and timeout controls for a render request.
execute_render_command
Execute a render using the compositions shipped with the standalone CLI.
execute_render_command_with_control
Execute a render with caller-owned progress, cancellation, and timeout controls.
execute_render_command_with_registry
Execute a render using an application-provided composition registry.
execute_render_command_with_registry_and_control
Execute an application-provided composition registry with caller-owned controls.
validate_composition_source
Validates that a render request selects exactly one available composition source.
validate_render_params
Validates command-line parameters prior to launching the renderer.