Skip to content

Commit

Permalink
default-features to false for sysinfo dependency
Browse files Browse the repository at this point in the history
Sysinfo has a default feature called "multithread" that pulls in rayon as a dependency. I believe this feature is not used by machineid-rs and the dependency could be disabled by default.
  • Loading branch information
andrewdavidmackenzie authored Apr 30, 2024
1 parent 40bbb6a commit 7643f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["authentication", "config", "accessibility"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
sysinfo = "0.29.6"
sysinfo = {version = "0.29.6", default-features = false }
whoami = "1.2.1"
serde = { version = "1.0.133", features = ["derive"] }
hex = "0.4.3"
Expand All @@ -28,4 +28,4 @@ winreg = "0.11.0"
wmi = "0.12.0"

[target.'cfg(unix)'.dependencies]
serde_json = "1.0.74"
serde_json = "1.0.74"

0 comments on commit 7643f5e

Please sign in to comment.