Skip to content

Commit

Permalink
Update dependencies.
Browse files Browse the repository at this point in the history
Closes #23, #24, #36.
  • Loading branch information
jmgao committed May 12, 2021
1 parent 26e7b73 commit f16e5d5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dhc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ license = "Apache-2.0"
maintenance = { status = "actively-developed" }

[build-dependencies]
vergen = "3.0.4"
vergen = "5.1.5"

[dependencies]
log = "0.4.6"
Expand All @@ -30,13 +30,13 @@ slog-term = "2.4.0"
log-panics = "2.0.0"

lazy_static = "1.2.0"
parking_lot = { version = "0.10" }
parking_lot = "0.11"
triple_buffer = "5.0.0"
twoway = "0.2.0"

serde = { version = "1.0", features = ["derive"] }
toml = "0.5"
indoc = "0.3"
indoc = "1.0"

winapi = { version = "0.3", features = ["winuser", "handleapi", "hidpi", "hidsdi"] }
hwndloop = "0.1.5"
Expand Down
7 changes: 6 additions & 1 deletion dhc/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
use vergen::{vergen, Config, TimestampKind};

fn main() {
vergen::generate_cargo_keys(vergen::ConstantsFlags::all()).expect("Unable to generate the cargo keys!");
let mut config = Config::default();
*config.git_mut().commit_timestamp_kind_mut() = TimestampKind::DateOnly;

vergen(config).expect("vergen failed");
}
7 changes: 3 additions & 4 deletions dhc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@ pub fn init() {
logger::init(&CONFIG);

info!(
"dhc v{}-{} ({}) initialized",
env!("CARGO_PKG_VERSION"),
env!("VERGEN_SHA_SHORT"),
env!("VERGEN_COMMIT_DATE")
"dhc {} ({}) initialized",
env!("VERGEN_GIT_SEMVER"),
env!("VERGEN_GIT_COMMIT_DATE")
);

// We need to wait until the logger has been initialized to warn about this.
Expand Down

0 comments on commit f16e5d5

Please sign in to comment.