1#![no_std]
4#![forbid(unsafe_code)]
5
6pub mod dumb;
7mod http_backend;
8pub mod receive;
9mod route;
10#[cfg(feature = "read")]
11pub mod stored;
12pub mod stream;
13mod upload_pack;
14mod v2;
15
16pub use git_zero_core::http::{Request, Response};
17pub use http_backend::{HEAD, serve, serve_with_pack, serve_with_scratch};
18pub use upload_pack::{PackOutput, WantOptions, WantPolicy, write_upload_error};
19#[cfg(feature = "read")]
20pub use upload_pack::{
21 RevisionBuffers, RevisionStorage, SelectionBuffers, SelectionStorage, serve_with_revisions,
22 serve_with_selected_pack, serve_with_selected_pack_policy, serve_with_selection,
23 serve_with_selection_policy,
24};