Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandra Sandulescu committed Jan 28, 2022
1 parent 0536a0d commit 842c875
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ autoexamples = false

[dependencies]
managed = { version = "0.8", default-features = false, features = ["map"] }
byteorder = { version = "1.0", default-features = false }
log = { version = "0.4.4", default-features = false, optional = true }
libc = { version = "0.2.18", optional = true }
bitflags = { version = "1.0", default-features = false }
byteorder = { version = "1.4", default-features = false }
log = { version = "0.4.14", default-features = false, optional = true }
libc = { version = "0.2.115", optional = true }
bitflags = { version = "1.3", default-features = false }
defmt = { version = "0.3", optional = true }
rand_core = { version = "0.6.3", optional = true, default-features = false }

[dev-dependencies]
env_logger = "0.5"
env_logger = "0.9"
getopts = "0.2"
rand = "0.3"
url = "1.0"
rand = "0.8"
url = "2.0"

[features]
std = ["managed/std", "rand_core/std"]
Expand Down
5 changes: 2 additions & 3 deletions examples/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn setup_logging_with_clock<F>(filter: &str, since_startup: F)
where
F: Fn() -> Instant + Send + Sync + 'static,
{
Builder::new()
Builder::from_default_env()
.format(move |buf, record| {
let elapsed = since_startup();
let timestamp = format!("[{}]", elapsed);
Expand Down Expand Up @@ -54,8 +54,7 @@ where
}
})
.filter(None, LevelFilter::Trace)
.parse(filter)
.parse(&env::var("RUST_LOG").unwrap_or_else(|_| "".to_owned()))
.parse_filters(filter)
.init();
}

Expand Down

0 comments on commit 842c875

Please sign in to comment.