docker-registry

Crates.iodocker-registry
lib.rsdocker-registry
version
sourcesrc
created_at2024-08-23 22:05:19.336241
updated_at2024-11-29 18:32:44.160811
descriptionA pure-Rust asynchronous library for Docker Registry HTTP API v2
homepage
repositoryhttps://github.com/clowdhaus/docker-registry
max_upload_size
id1349662
Cargo.toml error:TOML parse error at line 28, column 1 | 28 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Bryant Biggs (bryantbiggs)

documentation

https://docs.rs/docker-registry

README

Docker Registry

A pure-Rust asynchronous library for the Docker Registry HTTP API v2.

docker-registry 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.

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-private" feature and can be run as:

cargo test --features test-net-private

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: 481

cargo fmt