Expand description
Shared types and utilities for cargo plushie.
The crate is split between src/main.rs (CLI entry point + clap
parsing) and this library module. Keeping the logic in a library
makes integration testing possible without spawning the binary.
Commands:
cargo plushie build- generate a custom renderer workspace undertarget/plushie-renderer/with every native widget in the dep graph registered, then runcargo build.cargo plushie download- fetch a precompiled stock renderer from GitHub releases and place it undertarget/plushie/bin/.
Modules§
- discover
- Widget discovery via
cargo metadata. - doctor
- Diagnostic report for
cargo plushie doctor. - download
- Download subcommand: fetch a stock renderer from GitHub releases.
- generator
- Renderer workspace generator.
- patch_
config - Shared plumbing for
[patch.crates-io]overrides that redirect plushie-rust crates to a local checkout. - platform
- Platform detection helpers for build + download paths.
- scaffold
- Scaffolders for
cargo plushie new-widgetandcargo plushie init.
Structs§
- Widget
Metadata - Metadata describing a single native widget as declared in its
[package.metadata.plushie.widget]table.
Enums§
- Error
- Error type returned by library functions in this crate.
Type Aliases§
- Result
- Convenience
Resultalias.