1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#![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::*;

#[cfg(feature = "std")]
pub use std::convert::Infallible;

// Error Handling
pub trait ErrorSendSync: Send + Sync {}

impl ErrorSendSync for Infallible {}