Registry / networking / oci-distribution

oci-distribution

JSON →
library0.11.0rscratesunverified

An OCI (Open Container Initiative) implementation in Rust for container image distribution.

# Cargo.toml [dependencies] oci-distribution = "0.11.0"
INSTALL
IMPORT
SIG · OCI-DISTRIBUTION
O
oci-distribution
networkingrustv0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use oci_distribution::Client;

Creates a new OCI distribution client (requires async runtime).

use oci_distribution::Client; #[tokio::main] async fn main() { let client = Client::new(); println!("OCI client created"); }
Debug
Known issues
gotchaRequires an async runtime like Tokio.
fix
Add tokio as a dependency and use #[tokio::main] or another async runtime.
affects: >=0.11.0
Upgrade
Version history
0.11.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources