Cargo.toml 794 Bytes
Newer Older
1 2 3 4
[package]
name = "redox_netstack"
version = "0.1.0"

Egor Karavaev's avatar
Egor Karavaev committed
5 6 7 8
[[bin]]
name = "dnsd"
path = "src/dnsd/main.rs"

Egor Karavaev's avatar
Egor Karavaev committed
9 10 11 12
[[bin]]
name = "smolnetd"
path = "src/smolnetd/main.rs"

Egor Karavaev's avatar
Egor Karavaev committed
13 14 15 16
[lib]
name = "redox_netstack"
path = "src/lib/lib.rs"

17
[dependencies]
Jeremy Soller's avatar
Jeremy Soller committed
18 19
netutils = { git = "https://gitlab.redox-os.org/redox-os/netutils.git" }
redox_event = { git = "https://gitlab.redox-os.org/redox-os/event.git" }
Jeremy Soller's avatar
Jeremy Soller committed
20
redox_syscall = "0.1"
21
byteorder = { version = "1.0", default-features = false }
Egor Karavaev's avatar
Egor Karavaev committed
22
dns-parser = "0.7.1"
23

Egor Karavaev's avatar
Egor Karavaev committed
24 25 26
[dependencies.log]
version = "0.3"
default-features = false
Jeremy Soller's avatar
Jeremy Soller committed
27
features = ["release_max_level_warn"]
Egor Karavaev's avatar
Egor Karavaev committed
28

29
[dependencies.smoltcp]
Jeremy Soller's avatar
Jeremy Soller committed
30
path = "smoltcp"
31
default-features = false
Jeremy Soller's avatar
Jeremy Soller committed
32 33
features = ["std", "socket-raw", "proto-ipv4", "socket-udp", "socket-tcp", "socket-icmp"]
#For debugging: "log", "verbose"
34 35 36

[profile.release]
lto = true