Skip to main content

git_zero_rustix/
lib.rs

1//! Allocation-free rustix file storage and blocking HTTP/1.0 adapters.
2#![no_std]
3#![forbid(unsafe_code)]
4
5#[cfg(feature = "storage")]
6pub mod cache;
7#[cfg(feature = "storage")]
8pub mod storage;
9#[cfg(feature = "storage")]
10pub use storage::{FileObject, FileRepository};
11#[cfg(all(feature = "storage", feature = "server"))]
12pub use storage::{FilePublication, FilePublishedResponse};
13
14#[cfg(any(feature = "client", feature = "server"))]
15mod network;
16#[cfg(any(feature = "client", feature = "server"))]
17pub use network::*;