-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (37 loc) · 1.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "nftables-async"
version = "0.2.2"
edition = "2021"
description = "An async version of the helper to run nftables, providing full compatibility with the rest of the nftables crate"
license = "MIT"
keywords = ["nftables", "async"]
categories = ["network-programming"]
repository = "https://github.com/kanpov/nftables-async"
readme = "README.md"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
nftables = "0.5.0"
serde_json = "1.0.133"
futures-util = { version = "0.3.31", default-features = false, features = [
"io",
] }
tokio = { version = "1.41.1", default-features = false, features = [
"process",
"io-util",
], optional = true }
tokio-util = { version = "0.7.12", default-features = false, features = [
"compat",
], optional = true }
async-process = { version = "2.3.0", optional = true }
[dev-dependencies]
tokio = { version = "1.41.1", features = ["rt"] }
async-io = "2.4.0"
fastrand = "2.2.0"
nftables-async = { path = ".", features = ["full"] }
[features]
default = []
full = ["tokio-process", "async-process"]
tokio-process = ["dep:tokio", "dep:tokio-util"]
async-process = ["dep:async-process"]