> ## Documentation Index
> Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Rust SDK (Coming Soon)

> Rust SDK for configuring containers to route through the OneCLI gateway. Currently in development. Follow GitHub for updates.

<Info>The Rust SDK is currently in development. Check back soon or follow us on [GitHub](https://github.com/onecli/onecli) for updates.</Info>

The Rust SDK will allow you to programmatically configure Docker containers to route through the OneCLI proxy from Rust applications.

## Planned installation

```toml theme={null}
[dependencies]
onecli = "0.1"
```

## Planned usage

```rust theme={null}
use onecli::OneCLI;

#[tokio::main]
async fn main() {
    let oc = OneCLI::new("http://localhost:18080");

    let config = oc.get_container_config().await.unwrap();
    println!("{:?}", config.env);
    println!("{:?}", config.mounts);
}
```

Want this SDK sooner? [Let us know on GitHub](https://github.com/onecli/onecli/issues).
