Upgrade env_logger

Upgraded env_logger from 0.4.3 to 0.5.3
Updated example code to match new env_logger::init() use.
pull/24/head
Sean Schwartz 7 years ago
parent 1154d5a5e4
commit 927058d767
  1. 2
      Cargo.toml
  2. 2
      examples/autobahn-client.rs
  3. 2
      examples/autobahn-server.rs
  4. 2
      examples/client.rs

@ -35,4 +35,4 @@ optional = true
version = "0.1.5"
[dev-dependencies]
env_logger = "0.4.3"
env_logger = "0.5.3"

@ -46,7 +46,7 @@ fn run_test(case: u32) -> Result<()> {
}
fn main() {
env_logger::init().unwrap();
env_logger::init();
let total = get_case_count().unwrap();

@ -29,7 +29,7 @@ fn handle_client(stream: TcpStream) -> Result<()> {
}
fn main() {
env_logger::init().unwrap();
env_logger::init();
let server = TcpListener::bind("127.0.0.1:9001").unwrap();

@ -6,7 +6,7 @@ use url::Url;
use tungstenite::{connect, Message};
fn main() {
env_logger::init().unwrap();
env_logger::init();
let (mut socket, response) =
connect(Url::parse("ws://localhost:3012/socket").unwrap()).expect("Can't connect");

Loading…
Cancel
Save