euv-cli 0.51.0

Cross-platform CLI tool for the euv native UI framework supporting run, build, check, fmt, doctor, new, and Hyperlane SSE dynamic updates across all supported platforms.
Documentation
use super::*;

/// Recognized 3D asset container formats supported by `euv blender` subcommands.
#[derive(Clone, Copy, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)]
#[serde(rename_all = "lowercase")]
pub enum BlenderAssetFormat {
    /// Native Blender `.blend` database (4.x classic or 5.x large header).
    Blend,
    /// Binary Khronos glTF 2.0 `.glb` container.
    Glb,
    /// UTF-8 JSON Khronos glTF 2.0 `.gltf` document.
    Gltf,
    /// Pre-baked zero-copy 64-byte-aligned `.euv3d` archive.
    Euv3d,
    /// Wavefront `.obj` ASCII geometry mesh.
    Obj,
}

/// Resolution source identifying how the local Blender executable was discovered.
#[derive(Clone, Copy, Debug, Default, Deserialize, Eq, Hash, PartialEq, Serialize)]
#[serde(rename_all = "kebab-case")]
pub enum BlenderBinarySource {
    /// Explicit `--blender-bin` CLI flag.
    CliFlag,
    /// `EUV_BLENDER_BIN` environment variable.
    EnvVar,
    /// `blender` executable discovered on `PATH`.
    Path,
    /// Standard OS application installation directory (macOS `/Applications`, Windows `Program Files`, Linux `/usr/bin`).
    OsInstall,
    /// No Blender executable detected on this machine.
    #[default]
    NotFound,
}

/// Event kinds streamed over `GET /blender/events` by `euv blender live-sync`.
#[derive(Clone, Copy, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)]
#[serde(rename_all = "snake_case")]
pub enum BlenderLiveEventKind {
    /// Fast JSON transform, camera, light, material, or morph-weight delta.
    Delta,
    /// Selective binary `.glb` or `.euv3d` asset hot-swap notification.
    Asset,
}