A high-performance binary deployment tool for Rust that compiles execution plans into optimized, self-contained binaries and deploys them to remote hosts.
Repo iepathos/rustle-deploy, read from GitHub 6 h ago. iepathos has not joined Take My Repo.
iepathos/rustle-deploy is a public repo on GitHub by iepathos. A high-performance binary deployment tool for Rust that compiles execution plans into optimized, self-contained binaries and deploys them to remote hosts. It declares the GPL-3.0 license on GitHub. It is written mainly in Rust, has 1 stars and last changed on 2026-02-16. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
A high-performance binary deployment tool for Rust that compiles execution plans into optimized, self-contained binaries and deploys them to remote hosts. Rustle Deploy bridges the gap between planning and execution by creating binaries with embedded execution data, eliminating network round-trips and providing 10x+ performance improvements over traditional SSH-based deployment approaches.
Rustle Deploy revolutionizes infrastructure automation by:
Install Rust and Cargo
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Setup Cross-Compilation (Required for multi-architecture support)
# Install cargo-zigbuild for better cross-compilation
cargo install cargo-zigbuild
# Install common cross-compilation targets
rustup target add x86_64-unknown-linux-gnu
rustup target add x86_64-unknown-linux-musl
rustup target add aarch64-unknown-linux-gnu
rustup target add aarch64-unknown-linux-musl
# Or use the Justfile for complete setup
just setup
Install Rustle Deploy
cargo install rustle-deploy
Compile and deploy an execution plan
# Basic deployment
rustle-deploy plan.json
# With verification and parallel deployment
rustle-deploy plan.json --verify --parallel 8
Pipeline integration
# Complete automation pipeline
rustle-parse playbook.yml | \
rustle-plan --strategy binary-hybrid | \
rustle-deploy --verify | \
rustle-exec
Rustle Deploy implements a sophisticated binary compilation and deployment pipeline:
Execution Plan β Binary Compilation β Deployment β Verification
β β β β
Parse JSON Cross-compile SSH/SCP Checksum
Extract tasks Embed data Deploy Validate
Use target info Optimize Parallel Rollback
from plan
Rustle-deploy uses target architecture information from the execution plan generated by rustle-plan. This ensures consistency across the pipeline:
--target or localhost detection for testingrustle-deploy/
βββ src/
β βββ bin/
β β βββ rustle-deploy.rs # Main CLI binary
β βββ deploy/
β β βββ mod.rs # Deployment management
β β βββ manager.rs # Deployment orchestration
β β βββ compiler.rs # Binary compilation
β β βββ deployer.rs # Remote deployment
β β βββ cache.rs # Compilation caching
β β βββ verification.rs # Deployment verification
β βββ compiler/
β β βββ mod.rs # Compilation components
β β βββ embedding.rs # Data embedding
β β βββ cross_compile.rs # Cross-compilation
β β βββ optimization.rs # Binary optimization
β βββ types/
β β βββ mod.rs # Type definitions
β β βββ deployment.rs # Deployment structures
β β βββ compilation.rs # Compilation structures
β β βββ inventory.rs # Inventory parsing
β βββ lib.rs # Library entry point
βββ tests/
β βββ deploy/ # Deployment tests
β βββ compiler/ # Compilation tests
β βββ integration/ # End-to-end tests
βββ specs/ # Technical specifications
βββ examples/ # Usage examples
βββ target/ # Build artifacts
# Build rustle-deploy
cargo build --release
# Install locally
cargo install --path .
# Run with example plan
cargo run -- examples/simple_plan.json
# Development with hot reloading
cargo watch -x "run -- --help"
# Compile only (no deployment)
rustle-deploy plan.json --compile-only
# Deploy existing binaries
rustle-deploy plan.json --deploy-only
# Incremental compilation
rustle-deploy plan.json --incremental --cache-dir ~/.rustle/cache
# Cross-platform deployment
rustle-deploy plan.json --target x86_64-unknown-linux-gnu
rustle-deploy plan.json --target aarch64-unknown-linux-gnu
# Cleanup deployed binaries (requires plan with host info)
rustle-deploy --cleanup plan.json
# Verification and rollback
rustle-deploy plan.json --verify
rustle-deploy --rollback deployment-id-123
# Run all tests
cargo test
# Integration tests
cargo test --test integration -- --ignored
# Cross-compilation tests
cargo test compiler::cross_compile
# Performance benchmarks
cargo bench
# Code coverage
cargo tarpaulin --out Html
# Linting and formatting
cargo clippy -- -D warnings
cargo fmt
rustle-deploy [OPTIONS] [EXECUTION_PLAN]
OPTIONS:
-c, --config <FILE> Configuration file for deployment settings
-o, --output-dir <DIR> Directory for compiled binaries [default: ./target]
-t, --target <TRIPLE> Target architecture (auto-detect from plan hosts)
--cache-dir <DIR> Compilation cache directory
--incremental Enable incremental compilation
--rebuild Force rebuild of all binaries
--deploy-only Deploy existing binaries without compilation
--compile-only Compile binaries without deployment
--cleanup Remove deployed binaries from targets
--parallel <NUM> Parallel compilation jobs [default: CPU cores]
--timeout <SECONDS> Deployment timeout per host [default: 120]
--verify Verify binary integrity after deployment
--rollback Rollback to previous binary version
-v, --verbose Enable verbose output
--dry-run Show what would be compiled/deployed
ARGS:
<EXECUTION_PLAN> Path to execution plan file (or stdin if -)
# Basic deployment
rustle-deploy plan.json
# Compile for specific target
rustle-deploy plan.json --target x86_64-unknown-linux-gnu
# Fast incremental deployment
rustle-deploy plan.json --incremental --parallel 16
# Production deployment with verification
rustle-deploy plan.json --verify --timeout 300
# Pipeline integration
echo plan.json | rustle-deploy - --deploy-only
# Compilation settings
export RUSTLE_DEPLOY_CACHE_DIR="~/.rustle/cache"
export RUSTLE_BINARY_SIZE_LIMIT="50MB"
export RUSTLE_CROSS_COMPILE_DOCKER="false"
# Deployment settings
export RUSTLE_DEPLOYMENT_TIMEOUT="120"
export RUSTLE_PARALLEL_JOBS="8"
export RUSTLE_VERIFY_DEPLOYMENTS="true"
# Logging
export RUST_LOG="rustle_deploy=info"
Create ~/.rustle/config.toml:
[deployment]
cache_dir = "~/.rustle/cache"
output_dir = "./target/deploy"
parallel_jobs = 8
default_timeout_secs = 120
verify_deployments = true
[compilation]
optimization_level = "release"
strip_symbols = true
static_linking = true
compression = true
binary_size_limit_mb = 50
[targets]
default_arch = "x86_64-unknown-linux-gnu"
supported_targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-apple-darwin",
"aarch64-apple-darwin"
]
[cross_compilation]
use_zigbuild = true
toolchain_auto_install = true
[dependencies]
# Core runtime
tokio = { version = "1", features = ["full"] }
clap = { version = "4", features = ["derive"] }
# Serialization and data handling
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
# Error handling and logging
anyhow = "1"
thiserror = "1"
tracing = "0.1"
tracing-subscriber = "0.3"
# Deployment and compilation
sha2 = "0.10"
flate2 = "1"
tar = "0.4"
tempfile = "3"
uuid = { version = "1", features = ["v4"] }
# SSH and networking
tokio-util = "0.7"
[build-dependencies]
cargo_metadata = "0.18"
[dev-dependencies]
proptest = "1"
mockall = "0.11"
criterion = "0.5"
# Optimized release build
RUSTFLAGS="-C target-cpu=native -C opt-level=3" cargo build --release
# Cross-platform builds (requires targets to be installed)
cargo build --release --target x86_64-unknown-linux-gnu
cargo build --release --target aarch64-unknown-linux-gnu
cargo build --release --target x86_64-apple-darwin
# Zig-based cross-compilation (recommended - no additional setup needed)
cargo install cargo-zigbuild
cargo zigbuild --release --target x86_64-unknown-linux-gnu
# Using Justfile recipes
just build-linux # Build for common Linux targets
just build-zig x86_64-unknown-linux-musl # Build specific target with Zig
just build-all-targets # Build for all supported platforms
Rustle Deploy supports cross-compilation for multiple target architectures. Here's how to set it up:
# Check currently installed targets
rustup target list --installed
# Install common targets
just install-targets
# Or manually install specific targets
rustup target add x86_64-unknown-linux-gnu
rustup target add aarch64-unknown-linux-gnu
# Check which targets are missing
just check-targets
x86_64-unknown-linux-gnu - Linux x86_64 with GNU libcx86_64-unknown-linux-musl - Linux x86_64 with musl libc (static linking)aarch64-unknown-linux-gnu - Linux ARM64 with GNU libcaarch64-unknown-linux-musl - Linux ARM64 with musl libc (static linking)x86_64-apple-darwin - macOS x86_64aarch64-apple-darwin - macOS ARM64 (M1/M2)Standard Rust Cross-Compilation (requires target toolchains)
cargo build --release --target x86_64-unknown-linux-gnu
Cargo-Zigbuild (recommended - zero setup required)
cargo zigbuild --release --target x86_64-unknown-linux-gnu
Using Justfile Recipes
just build-target x86_64-unknown-linux-gnu
just build-all-targets
The compilation pipeline now reliably handles binary output regardless of whether binaries come from cache or fresh compilation:
# Test compilation with reliable binary output
cargo run --bin rustle-deploy plan.json --localhost-test
# Specify output directory
cargo run --bin rustle-deploy plan.json --output-dir ./binaries
# Force fresh compilation (no cache)
cargo run --bin rustle-deploy plan.json --rebuild
.exe on Windows) handled automatically--localhost-test now works reliably without manual cache copying--output-dir properly receives binaries from any source.exe on Windows) handled automatically# Profile compilation performance
RUSTFLAGS="-C opt-level=3 -C target-cpu=native" cargo build --release
# Monitor deployment metrics
rustle-deploy plan.json --verify --verbose
# Benchmark deployment speed
cargo bench -- deployment_speed
iepathos/rustle-deploy is a public repo on GitHub by iepathos. A high-performance binary deployment tool for Rust that compiles execution plans into optimized, self-contained binaries and deploys them to remote hosts.
It declares the GPL-3.0 license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-02-16. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run rustle-deploy. What is known comes from GitHub. It declares the GPL-3.0 license on GitHub. Its last change was on 2026-02-16. It has 1 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.