Updated dependencies, removing need for yubico fork

This commit is contained in:
Daniel García 2019-01-12 15:23:46 +01:00
parent c5aef60bd7
commit de51bc782e
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
3 changed files with 383 additions and 174 deletions

549
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,7 @@ rocket = { version = "0.4.0", features = ["tls"], default-features = false }
rocket_contrib = "0.4.0" rocket_contrib = "0.4.0"
# HTTP client # HTTP client
reqwest = "0.9.6" reqwest = "0.9.8"
# multipart/form-data support # multipart/form-data support
multipart = "0.15.4" multipart = "0.15.4"
@ -74,7 +74,7 @@ jsonwebtoken = "5.0.1"
u2f = "0.1.4" u2f = "0.1.4"
# Yubico Library # Yubico Library
yubico = { version = "=0.4.0", features = ["online"], default-features = false, optional = true } yubico = { version = "0.5.0", features = ["online"], default-features = false, optional = true }
# A `dotenv` implementation for Rust # A `dotenv` implementation for Rust
dotenv = { version = "0.13.0", default-features = false } dotenv = { version = "0.13.0", default-features = false }
@ -104,6 +104,3 @@ rmp = { git = 'https://github.com/dani-garcia/msgpack-rust' }
# Use new native_tls version 0.2 # Use new native_tls version 0.2
lettre = { git = 'https://github.com/lettre/lettre', rev = 'c988b1760ad81' } lettre = { git = 'https://github.com/lettre/lettre', rev = 'c988b1760ad81' }
lettre_email = { git = 'https://github.com/lettre/lettre', rev = 'c988b1760ad81' } lettre_email = { git = 'https://github.com/lettre/lettre', rev = 'c988b1760ad81' }
# Allows optional libusb support
yubico = { git = 'https://github.com/dani-garcia/yubico-rs' }

View File

@ -92,6 +92,7 @@ fn init_logging() -> Result<(), fern::InitError> {
}) })
.level(log::LevelFilter::Debug) .level(log::LevelFilter::Debug)
.level_for("hyper", log::LevelFilter::Warn) .level_for("hyper", log::LevelFilter::Warn)
.level_for("rustls", log::LevelFilter::Warn)
.level_for("ws", log::LevelFilter::Info) .level_for("ws", log::LevelFilter::Info)
.level_for("multipart", log::LevelFilter::Info) .level_for("multipart", log::LevelFilter::Info)
.chain(std::io::stdout()); .chain(std::io::stdout());