-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
37 lines (31 loc) · 977 Bytes
/
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
[package]
name = "tygress"
description = "A library implementing popular networking transport protocols in user space with Rust"
version = "0.1.1"
edition = "2021"
authors = [
"Andrew Guerrero <ajguerrer@gmail.com>"
]
documentation = "https://docs.rs/tygress"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/ajguerrer/tygress"
keywords = ["ip", "tcp", "udp", "ethernet", "network"]
categories = ["embedded", "network-programming"]
[dependencies]
rustix = { version = "0.38.30", default-features = false, features = ["fs", "net", "event"], optional = true }
libc = { version = "0.2.152", default-features = false, optional = true }
[dev-dependencies]
criterion = { version = "0.5.1", default_features = false }
[features]
default = []
netdev = ["std", "rustix", "libc"]
std = []
[[example]]
name = "tuntap_interface"
required-features = ["netdev"]
[[example]]
name = "packet_socket"
required-features = ["netdev"]
[[bench]]
name = "bench"
harness = false