From 50185514c9063ba064920b35218a0f819c5d217c Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Sat, 29 Jun 2024 23:14:06 +0100 Subject: Guard against unsupported platforms --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index f4c0d6a..a21aae2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,9 @@ nostr-relay-pool = "0.32.0" nostr-sdk = { version = "0.32.0", default-features = false } nostr-signer = { version = "0.32.0", default-features = false, features = ["nip46"] } pretty_env_logger = "0.5.0" -procfs = { version = "0.16.0", default-features = false } serde = { version = "1.0.203", features = ["derive"] } serde_json = "1.0.118" tokio = { version = "1.38.0", features = ["rt-multi-thread", "signal", "time"] } + +[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] +procfs = { version = "0.16.0", default-features = false } -- cgit v1.2.3-70-g09d2