rsbuild-0.3.0 is not a library.
rsbuild
A self-sufficient runtime to build projects.
rsbuild provides commands for building Python wheels, Docker containers, Rust binaries, and managing Cython compilation workflows.
Installation
From crates.io
From source
Usage
Global Options
| Option | Description |
|---|---|
-v, --verbose |
Increase output verbosity |
-q, --quiet |
Suppress non-essential output |
--dry-run |
Preview commands without executing them |
-h, --help |
Print help information |
-V, --version |
Print version |
Commands
| Command | Description |
|---|---|
build |
Build artifacts (wheel, docker, cargo) |
pull |
Pull Docker images |
run |
Run Docker Compose services |
clean |
Clean build artifacts and caches |
cython |
Compile Cython modules and package into wheel |
glances |
Run glances system monitor |
completions |
Generate shell completion scripts |
doctor |
Check if required tools are installed |
Build Subcommands
# Build Python wheel
# Build all configured targets
# Build Rust binary (release mode by default)
# Build Docker Compose service
Pull Subcommands
# Pull all configured images
# Pull a specific service image
Run Docker Services
# Run a Docker Compose service
# Run with additional arguments
Clean
# Remove build artifacts, egg-info, pycache, and notebook checkpoints
# Also remove Rust target directory
Cython
# Compile Cython modules for a package
Doctor
# Check system for required tools
Shell Completions
# Generate completions for your shell
Dry Run Mode
Preview what commands would be executed without running them:
Project Structure
src/
├── main.rs # Entry point
├── cli.rs # CLI definitions (clap)
├── error.rs # Error types (thiserror)
├── executor.rs # Command execution utilities
└── commands/
├── mod.rs # Module exports
├── build.rs # Build commands
├── clean.rs # Clean command
├── cython.rs # Cython compilation
├── doctor.rs # System diagnostics
├── pull.rs # Docker pull commands
└── run.rs # Docker run command
License
MIT