xous-core/services/net/Cargo.toml
2022-12-12 16:07:20 +08:00

57 lines
1.9 KiB
TOML

[package]
name = "net"
version = "0.1.0"
authors = ["bunnie <bunnie@kosagi.com>"]
edition = "2018"
description = "Network middleware"
# Dependency versions enforced by Cargo.lock.
[dependencies]
xous = "0.9.28"
xous-ipc = "0.9.28"
log-server = { package = "xous-api-log", version = "0.1.22" }
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.22" }
xous-names = { package = "xous-api-names", version = "0.9.24" }
log = "0.4.14"
num-derive = {version = "0.3.3", default-features = false}
num-traits = {version = "0.2.14", default-features = false}
susres = {package = "xous-api-susres", version = "0.9.22"}
#rkyv = "0.7.18"
rkyv = {version = "0.4.3", features = ["const_generics"], default-features = false}
llio = {path = "../llio"}
com = {path = "../com"}
byteorder = { version = "1.0", default-features = false }
trng = {path = "../trng"}
com_rs-ref = {path = "../../imports/com_rs-ref"}
modals = {path = "../modals"}
locales = {path = "../../locales"}
utralib = { version = "0.1.13", optional = true, default-features = false }
# for automatic SSID management and AP list storage
pddb = {path = "../pddb"}
xous-semver = "0.1.2"
[dependencies.smoltcp]
# some historical notes for development on branches in the future
# path = "../../../smoltcp"
#git = "https://github.com/smoltcp-rs/smoltcp.git"
#git = "https://github.com/betrusted-io/smoltcp.git"
#rev = "35c8ec3d30c846442a1faae01fb0537641aef898"
# 0.8.1 drops the rand_core dep and doesn't have the breaking IPv4 change (see issue #613)
version = "0.8.1"
default-features = false
features = [
"std", "log", # needed for `cargo test --no-default-features --features default` :/
"medium-ethernet", "medium-ip",
"phy-raw_socket",
"proto-ipv4", "proto-ipv6",
"socket-raw", "socket-icmp", "socket-udp", "socket-tcp",
]
[features]
precursor = ["utralib/precursor"]
hosted = ["utralib/hosted"]
renode = ["utralib/renode"]
renode-minimal = []
default = []