Skip to content

Commit

Permalink
update to log 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jan 20, 2018
1 parent 3128a37 commit d6762d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ futures = "0.1.15"
hyper = "0.11.9"
hyper-tls = "0.1.2"
libflate = "0.1.11"
log = "0.3"
log = "0.4"
mime_guess = "2.0.0-alpha.2"
native-tls = "0.1.3"
serde = "1.0"
Expand All @@ -28,7 +28,7 @@ url = "1.2"
uuid = { version = "0.5", features = ["v4"] }

[dev-dependencies]
env_logger = "0.4"
env_logger = "0.5"
error-chain = "0.10"
serde_derive = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion examples/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ error_chain! {
}

fn run() -> Result<()> {
env_logger::init().expect("Failed to initialize logger");
env_logger::init();

println!("GET https://www.rust-lang.org");

Expand Down
2 changes: 1 addition & 1 deletion tests/multipart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mod support;

#[test]
fn test_multipart() {
let _ = env_logger::init();
let _ = env_logger::try_init();

let form = reqwest::multipart::Form::new()
.text("foo", "bar");
Expand Down

0 comments on commit d6762d4

Please sign in to comment.