Skip to content

Commit 312e623

Browse files
committed
Cargo.*: Move effective-limits to be cfg dependent, add cfg-if
Signed-off-by: Daniel Silverstone <[email protected]>
1 parent 1dc678b commit 312e623

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ no-self-update = []
2121

2222
# Sorted by alphabetic order
2323
[dependencies]
24+
cfg-if = "0.1"
2425
chrono = "0.4"
2526
clap = "2"
2627
download = { path = "download" }
2728
error-chain = "0.12"
28-
effective-limits = "0.5.1"
2929
flate2 = "1"
3030
git-testament = "0.1.4"
3131
home = { git = "https://github.com/rbtcollins/home", rev="a243ee2fbee6022c57d56f5aa79aefe194eabe53" }
@@ -65,6 +65,9 @@ default-features = false
6565
version = "1.0.1"
6666
features = ["rs_tracing"]
6767

68+
[target.'cfg(not(any(target_os="freebsd", target_os="netbsd")))'.dependencies]
69+
effective-limits = "0.5.1"
70+
6871
[target."cfg(windows)".dependencies]
6972
cc = "1"
7073
winreg = "0.6"

0 commit comments

Comments
 (0)