-
Notifications
You must be signed in to change notification settings - Fork 35
/
Cargo.toml
56 lines (47 loc) · 1.01 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "neli"
version = "0.7.0-rc2"
edition = "2021"
authors = ["John Baublitz <[email protected]>"]
description = "Type safe netlink library written in Rust"
license = "BSD-3-Clause"
repository = "https://github.com/jbaublitz/neli"
keywords = ["netlink"]
include = [
"**/*.rs",
"Cargo.toml",
"LICENSE",
]
[package.metadata.docs.rs]
all-features = true
[lib]
name = "neli"
path = "src/lib.rs"
[dependencies]
bitflags = "2.4"
byteorder = "1.3"
derive_builder = "0.11"
getset = "0.1.2"
libc = "0.2.105"
log = "0.4"
[dependencies.neli-proc-macros]
version = "0.2.0-rc2"
path = "neli-proc-macros"
[dependencies.parking_lot]
version = "0.12.1"
optional = true
[dependencies.tokio]
version = "1"
features = ["io-util", "net", "sync", "rt"]
optional = true
[dev-dependencies]
env_logger = "0.9.0"
lazy_static = "1.4.0"
[dev-dependencies.tokio]
version = "1"
features = ["macros", "rt-multi-thread"]
[features]
default = ["sync"]
sync = ["parking_lot"]
async = ["parking_lot", "tokio"]
netfilter = []