Unify & enforce same interface of sr-io (std & without-std) (#2381)

* WiP: HTTP Apis.

* Working on the API.

* Add docs, clean up the API.

* Expose ext_ stuff as well.

* Implement HTTP helpers for offchain sr-io.

* Remove HTTP stuff.

* Remove spurious leading `::`

Co-Authored-By: DemiMarie-parity <48690212+DemiMarie-parity@users.noreply.github.com>

* Rename in toml.

* Add issue number.

* Bump version.
This commit is contained in:
Tomasz Drwięga
2019-04-25 15:49:34 +02:00
committed by Bastian Köcher
parent 07d495d905
commit f0202aa425
11 changed files with 969 additions and 801 deletions
+2 -2
View File
@@ -745,10 +745,10 @@ fn init_logger(pattern: &str) {
builder.filter(None, log::LevelFilter::Info);
if let Ok(lvl) = std::env::var("RUST_LOG") {
builder.parse(&lvl);
builder.parse_filters(&lvl);
}
builder.parse(pattern);
builder.parse_filters(pattern);
let isatty = atty::is(atty::Stream::Stderr);
let enable_color = isatty;