| Crates.io | leeca_proxmox |
| lib.rs | leeca_proxmox |
| version | 0.1.1 |
| created_at | 2025-01-14 14:37:42.281186+00 |
| updated_at | 2025-01-14 22:00:12.727062+00 |
| description | A modern, safe, and async-first SDK for interacting with Proxmox Virtual Environment servers |
| homepage | https://github.com/0x4rkh4m/leeca_proxmox |
| repository | https://github.com/0x4rkh4m/leeca_proxmox |
| max_upload_size | |
| id | 1516047 |
| size | 163,480 |
A modern, safe, and async-first SDK for interacting with Proxmox Virtual Environment servers, following industry best practices and clean architecture principles.
๐ Enterprise-Grade Security
๐ Modern Architecture
๐ช Robust Error Handling
๐งช Quality Assurance
๐ Rich Documentation
cargo add leeca_proxmox
use leeca_proxmox::{ProxmoxClient, ProxmoxResult};
#[tokio::main]
async fn main() -> ProxmoxResult<()> {
let mut client = ProxmoxClient::builder()
.host("192.168.1.182")?
.port(8006)?
.credentials("leeca", "Leeca_proxmox1!", "pam")?
.secure(false)
.build()
.await?;
client.login().await?;
println!("Authenticated: {}", client.is_authenticated());
if let Some(token) = client.auth_token() {
println!("Session Token: {}", token.value().await);
println!("Session Token expires at: {:?}", token.expires_at().await);
}
if let Some(csrf) = client.csrf_token() {
println!("CSRF Token: {}", csrf.value().await);
println!("CSRF Token expires at: {:?}", csrf.expires_at().await);
}
Ok(())
}
# Run linter
cargo clippy
# Run formatter
cargo fmt
# Run tests with coverage
cargo tarpaulin
See our CHANGELOG for version history and ROADMAP for future plans.
This project follows Semantic Versioning. See our CHANGELOG for version history.
โ ๏ธ Note: This project is in active development. APIs may change before 1.0.0 release.