Skip to content

Commit

Permalink
chore: update env_logger, fix time compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentdephily committed Dec 7, 2020
1 parent 8e7f18d commit df5dd50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ cli = ["structopt", "env_logger"]

[dependencies]
bytes = "0.5.3"
env_logger = { version = "0.7.0", optional = true }
env_logger = { version = "0.8.2", optional = true }
futures = "0.3.1"
log = "0.4.7"
log = "0.4.11"
mqttrs = "0.3.0"
rand = "0.7.2"
serde = { version = "1.0.99", features = ["derive"] }
Expand All @@ -30,7 +30,7 @@ tokio = { version = "0.2.6", features = ["io-util", "macros", "net", "rt-threade
tokio-util = { version = "0.3.1", features = ["codec"] }

[dev-dependencies]
env_logger = "0.7.0"
env_logger = "0.8.2"
assert_matches = "1.3.0"

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion src/dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ impl Dump {
}

fn now_str() -> String {
let t = time::OffsetDateTime::now();
let t = time::OffsetDateTime::now_utc();
format!("{}.{:06.06}Z", t.format("%FT%T"), t.microsecond())
}

Expand Down

0 comments on commit df5dd50

Please sign in to comment.