| Crates.io | mitoxide |
| lib.rs | mitoxide |
| version | 0.1.0 |
| created_at | 2025-10-16 16:01:46.541441+00 |
| updated_at | 2025-10-16 16:01:46.541441+00 |
| description | Rust library for remote execution and automation inspired by Mitogen |
| homepage | https://github.com/yourusername/mitoxide |
| repository | https://github.com/yourusername/mitoxide |
| max_upload_size | |
| id | 1886356 |
| size | 197,639 |
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
Add Mitoxide to your Cargo.toml:
[dependencies]
mitoxide = "0.1"
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(())
}
This project is licensed under the MIT License - see the LICENSE file for details.