We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent902befb commiteb55dabCopy full SHA for eb55dab
Cargo.toml
@@ -48,7 +48,6 @@ thiserror = "2"
48
socket2 = {version ="0.5",features = ["all"] }
49
clap = {version ="3.2",optional =true }
50
anyhow = {version ="1",optional =true }
51
-neli = {version ="0.6",optional =true }
52
tokio = {version ="1",features = ["net"],optional =true }
53
mio = {version ="1",features = ["os-ext"],optional =true }
54
futures = {version ="0.3",optional =true }
@@ -57,6 +56,12 @@ smol = { version = "1.3", optional = true }
57
56
async-std = {version ="1.12",optional =true }
58
libudev = {version ="0.3",optional =true }
59
+# This hack avoids building neli on non-linux platforms, which
60
+# avoids a ton of compile errors. Worthwhile together with the
61
+# build.rs script to error early when building for non-linux
62
+[target.'cfg(target_os="linux")'.dependencies]
63
+neli = {version ="0.6",optional =true }
64
+
65
[dev-dependencies]
66
anyhow ="1.0"
67
ctrlc ="3.2.2"