dkregistry

Crates.iodkregistry
lib.rsdkregistry
version0.5.0
sourcesrc
created_at2017-06-18 22:14:07.492674
updated_at2020-10-07 16:12:13.442146
descriptionA pure-Rust asynchronous library for Docker Registry API
homepage
repositoryhttps://github.com/camallo/dkregistry-rs
max_upload_size
id19453
size339,958
dkregistry-admins (github:camallo:dkregistry-admins)

documentation

https://docs.rs/dkregistry

README

dkregistry

Build Status LoC Documentation

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.

Configurable features

The following is a list of Cargo features that consumers can enable or disable:

  • reqwest-default-tls (enabled by default): provides TLS support via system-specific library (OpenSSL on Linux)
  • reqwest-rustls: provides TLS support via the rustls library

Testing

Integration tests

This library relies on the mockito framework for mocking.

Mock tests can be enabled via the test-mock feature:

cargo test --features test-mock

Interoperability tests

This library includes additional interoperability tests against some of the most common registries.

Those tests are not run by default as they require 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.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 456

cargo fmt