mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
make procfs an optional dependency so sdk can build on macos (#2028)
* make procfs an optional dependency so sdk can build on macos * flag dependency as linux only * remove optional procfs dep Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
@@ -19,7 +19,6 @@ serde_json = "1"
|
||||
helpers = { path = "../helpers" }
|
||||
imbl = "2"
|
||||
nix = "0.25"
|
||||
procfs = "0.14"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio-stream = { version = "0.1.11" }
|
||||
tracing = "0.1"
|
||||
@@ -28,6 +27,9 @@ tracing-futures = "0.2"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
yajrc = { version = "*", git = "https://github.com/dr-bonez/yajrc.git", branch = "develop" }
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
procfs = "0.14"
|
||||
|
||||
[profile.test]
|
||||
opt-level = 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user