1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#![no_std]
extern crate no_std_compat as std;
extern crate alloc;

use std::prelude::v1::*;
//#![cfg_attr(not(feature = "std"), no_std)]

#[cfg(not(feature = "std"))]
mod no_std;

#[cfg(not(feature = "std"))]
pub use crate::no_std::*;

#[cfg(feature = "std")]
pub use http_body::*;

#[cfg(feature = "std")]
pub use http_body_util::*;

mod body_bytes;
mod error;

pub use body_bytes::BodyBytes;
pub use error::BodyError;
pub use bytes::Bytes;