cargo_http_registry/lib.rs
1// Copyright (C) 2021-2024 The cargo-http-registry Developers
2// SPDX-License-Identifier: GPL-3.0-or-later
3
4//! A crate providing a cargo registry accessible over HTTP.
5//!
6//! The official reference for registries can be found [here][]. This
7//! crate does not necessarily aim to implement all aspects, as it aims
8//! to be used in trusted contexts where authorization is unnecessary.
9//!
10//! [here]: https://doc.rust-lang.org/cargo/reference/registries.html
11
12#![allow(clippy::ineffective_open_options)]
13
14mod index;
15mod publish;
16mod serve;
17
18pub use serve::serve;