Skip to content

Commit

Permalink
Restrict some dependencies that are platform-specific. (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdm authored Nov 15, 2023
1 parent 863b267 commit 0c657c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ lazy_static = "1"
libc = "0.2.12"
rand = "0.8"
serde = { version = "1.0", features = ["rc"] }
tempfile = "3.4"
uuid = { version = "1", features = ["v4"] }

[target.'cfg(any(target_os = "linux", target_os = "openbsd", target_os = "freebsd"))'.dependencies]
mio = { version = "0.8", features = ["os-ext"] }
sc = { version = "0.2.2", optional = true }
tempfile = "3.4"

[dev-dependencies]
crossbeam-utils = "0.8"
Expand Down

0 comments on commit 0c657c2

Please sign in to comment.