A pure-Rust asynchronous library for Docker Registry API.
dkregistry
provides support for asynchronous interaction with container registries
conformant to the Docker Registry HTTP API V2 specification.
This library relies on the mockito framework for mocking. At this time, it is not multi-thread aware.
As such, tests should be run serially via:
cargo test --features test-mock -- --test-threads=1
This library includes additional interoperability tests against some of the most common registries.
Those tests are not run by default as they required network access and registry credentials.
They are gated behind a dedicated "test-net" feature and can be run as:
cargo test --features test-net
Credentials for those registries must be provided via environmental flags.