[go: up one dir, main page]

head/
lib.rs

1//! Common types with inline headers, brought to you by
2//! [@NikolaiVazquez](https://twitter.com/NikolaiVazquez).
3//!
4//! ## License
5//!
6//! This project is released under either the
7//! [MIT License](https://github.com/nvzqz/head-rs/blob/main/LICENSE-MIT) or
8//! [Apache License (Version 2.0)](https://github.com/nvzqz/head-rs/blob/main/LICENSE-APACHE),
9//! at your choosing.
10
11#![cfg_attr(not(feature = "std"), no_std)]
12
13#[cfg(feature = "alloc")]
14extern crate alloc;
15
16mod slice;
17
18pub use slice::HeaderSlice;