Skip to main content

git_zero/
lib.rs

1//! Allocation-free Git objects and HTTP client/server building blocks.
2//!
3//! Select `read`, `write`, `client` and `server` independently. The defaults
4//! preserve the complete API. All library operations remain `no_std`/no-alloc.
5#![no_std]
6#![forbid(unsafe_code)]
7
8pub use git_zero_core::*;
9
10#[cfg(feature = "client")]
11pub use git_zero_client as client;
12
13/// HTTP values and, with `server`, repository routing.
14pub mod http {
15    pub use git_zero_core::http::*;
16    #[cfg(feature = "server")]
17    pub use git_zero_server::*;
18}