Skip to content

Commit

Permalink
Pin cargo dependencies to specific minor versions; closes #20
Browse files Browse the repository at this point in the history
  • Loading branch information
foucault committed Apr 14, 2020
1 parent 42e28d0 commit 652a313
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ authors = ["Spyros Stathopoulos <spystath@gmail.com>"]

[dependencies]
log = "0.4"
getopts = "*"
time = "*"
getopts = "0.2"
time = "0.2"
serde = "1.0"
serde_json = "1.0"
serde_derive = "1.0"
toml = "0.5"
dirs = "*"
dirs = "2.0"

[target.'cfg(unix)'.dependencies]
nix = "*"
nix = "0.17"

[target.'cfg(windows)'.dependencies]
ctrlc = "*"
ctrlc = "3.1"

[dependencies.nvctrl]
path = "src/nvctrl"
Expand Down
6 changes: 3 additions & 3 deletions src/nvctrl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ authors = ["Spyros Stathopoulos <spystath@gmail.com>"]
build = "build.rs"

[dependencies]
libc = "*"
libc = "0.2"
serde = "1.0"
serde_derive = "1.0"

[target.'cfg(windows)'.dependencies]
libloading = "*"
lazy_static = "*"
libloading = "0.6"
lazy_static = "1.4"

[lib]
name = "nvctrl"
Expand Down

0 comments on commit 652a313

Please sign in to comment.