mitoxide

Crates.iomitoxide
lib.rsmitoxide
version0.1.0
created_at2025-10-16 16:01:46.541441+00
updated_at2025-10-16 16:01:46.541441+00
descriptionRust library for remote execution and automation inspired by Mitogen
homepagehttps://github.com/yourusername/mitoxide
repositoryhttps://github.com/yourusername/mitoxide
max_upload_size
id1886356
size197,639
Sebx (Sebx)

documentation

https://docs.rs/mitoxide

README

Mitoxide

Crates.io Documentation License: MIT

A blazingly fast Rust library for remote execution and automation inspired by Mitogen.

Built with AWS Kiro and vibe-coding principles for an intuitive developer experience

Features

  • 🔥 Blazing Fast: Zero-copy serialization and efficient connection pooling
  • 🛡️ Secure: Built-in SSH transport with jump host support
  • 🌐 Multi-Platform: Linux, macOS, Windows, and container support
  • WASM Runtime: Execute WebAssembly modules remotely
  • 🔧 Privilege Escalation: Seamless sudo and privilege handling
  • 🐳 Container Ready: Docker, Kubernetes, and LXC integration

Quick Start

Add Mitoxide to your Cargo.toml:

[dependencies]
mitoxide = "0.1"

Basic Usage

use mitoxide::Session;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    // Connect to remote host
    let session = Session::ssh("user@remote-host").await?;
    let context = session.connect().await?;
    
    // Execute commands
    let output = context.proc_exec(&["uname", "-a"]).await?;
    println!("Remote OS: {}", output.stdout);
    
    // Transfer files
    context.file_write("/tmp/hello.txt", b"Hello, World!").await?;
    let content = context.file_read("/tmp/hello.txt").await?;
    
    Ok(())
}

Documentation

License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 0

cargo fmt