Expand description
Cargo Overlay Registry - A proxy registry for crates.io with local publishing support.
This library provides the core functionality for running a cargo registry proxy that:
- Proxies requests to crates.io (or another upstream registry)
- Supports local publishing of crates
- Can act as an HTTP/HTTPS forward proxy for cargo
- Supports MITM interception for transparent proxying
Re-exports§
pub use endpoints::handle_api_download;pub use endpoints::handle_api_publish;pub use endpoints::handle_api_search;pub use endpoints::handle_config;pub use endpoints::handle_index_1char;pub use endpoints::handle_index_2char;pub use endpoints::handle_index_3char;pub use endpoints::handle_index_4plus;pub use http_proxy::handle_proxy_connection;pub use http_proxy::HttpProxyState;pub use registry::build_registry;pub use registry::AnyRegistry;pub use registry::BuiltRegistry;pub use registry::DynRegistry;pub use registry::Registry;pub use registry::RegistryBuildOptions;pub use registry::RegistrySpec;pub use state::GenericProxyState;pub use state::MitmCa;pub use state::RegistryState;pub use tls::generate_self_signed_cert;
Modules§
Functions§
- build_
registry_ router - Build the standard registry router with all endpoints configured.