registry_testkit/
lib.rs

1//! A minimal, OCI-compliant container registry for testing and development.
2//!
3//! This crate provides a simple way to spin up a local container registry for testing
4//! Docker/OCI container workflows without external dependencies.
5//!
6//! # Examples
7//!
8//! ```no_run
9//! use registry_testkit::{RegistryServer, RegistryConfig};
10//!
11//! #[tokio::main]
12//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
13//!     let config = RegistryConfig::memory();
14//!     let server = RegistryServer::new(config).await?;
15//!     println!("Registry running at {}", server.url());
16//!     Ok(())
17//! }
18//! ```
19
20pub mod config;
21pub mod error;
22pub mod server;
23pub mod storage;
24
25pub use config::{RegistryConfig, StorageBackend};
26pub use error::{RegistryError, Result};
27pub use server::RegistryServer;