product-os-http 0.0.6

Product OS : Http is a derivative of the http crate restructured for both std and no_std environments.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![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")]
use std::convert::Infallible;