Skip to content

Commit

Permalink
Update dependencies to build with Rust 1.42
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkanosis committed Mar 12, 2020
1 parent 51d8c6e commit 6eaeeb4
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,5 +1,5 @@
language: rust
rust: 1.41.0
rust: 1.42.0

notifications:
email: jroquet@arkanosis.net
Expand Down
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/lib.rs
@@ -1,5 +1,7 @@
#[macro_use]
extern crate slog;
use slog::{
error,
info,
};

pub fn version() -> &'static str {
return option_env!("CARGO_PKG_VERSION").unwrap_or("unknown");
Expand Down
16 changes: 6 additions & 10 deletions src/main.rs
@@ -1,13 +1,9 @@
extern crate docopt;
extern crate microstatus;
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate slog;
extern crate slog_async;
extern crate slog_term;

use slog::Drain;
use serde_derive::Deserialize;

use slog::{
Drain,
o,
};

const USAGE: &str = "
Usage: microstatus <working-directory>
Expand Down
2 changes: 0 additions & 2 deletions tests/version.rs
@@ -1,5 +1,3 @@
extern crate microstatus;

#[test]
fn version() {
microstatus::version();
Expand Down

0 comments on commit 6eaeeb4

Please sign in to comment.