2021-10-08 12:01:13 +00:00
|
|
|
[package]
|
|
|
|
|
name = "net"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
authors = ["bunnie <bunnie@kosagi.com>"]
|
|
|
|
|
edition = "2018"
|
|
|
|
|
description = "Network middleware"
|
|
|
|
|
|
2022-06-10 13:36:53 +00:00
|
|
|
# Dependency versions enforced by Cargo.lock.
|
2021-10-08 12:01:13 +00:00
|
|
|
[dependencies]
|
2026-01-29 11:12:00 +00:00
|
|
|
xous = "0.9.70"
|
|
|
|
|
xous-ipc = "0.10.10"
|
|
|
|
|
log-server = { package = "xous-api-log", version = "0.1.69" }
|
|
|
|
|
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.70" }
|
|
|
|
|
xous-names = { package = "xous-api-names", version = "0.9.71" }
|
2022-01-10 07:39:55 +00:00
|
|
|
log = "0.4.14"
|
2024-12-02 10:52:59 +00:00
|
|
|
num-derive = { version = "0.4.2", default-features = false }
|
2024-01-14 16:14:39 +00:00
|
|
|
num-traits = { version = "0.2.14", default-features = false }
|
2026-01-27 16:36:05 +00:00
|
|
|
susres = { path = "../../api/xous-api-susres", package = "xous-api-susres" }
|
2024-09-22 06:26:41 +00:00
|
|
|
rkyv = { version = "0.8.8", default-features = false, features = [
|
|
|
|
|
"std",
|
|
|
|
|
"alloc",
|
|
|
|
|
] }
|
2024-01-14 16:14:39 +00:00
|
|
|
llio = { path = "../llio" }
|
|
|
|
|
com = { path = "../com" }
|
2021-10-09 17:57:31 +00:00
|
|
|
byteorder = { version = "1.0", default-features = false }
|
2024-01-14 16:14:39 +00:00
|
|
|
trng = { path = "../trng" }
|
2023-05-03 14:53:54 +00:00
|
|
|
com_rs = { git = "https://github.com/betrusted-io/com_rs", rev = "891bdd3ca8e41f81510d112483e178aea3e3a921" }
|
2024-01-14 16:14:39 +00:00
|
|
|
modals = { path = "../modals" }
|
|
|
|
|
locales = { path = "../../locales" }
|
2025-05-11 04:36:33 +00:00
|
|
|
precursor-hal = { path = "../../libs/precursor-hal" }
|
|
|
|
|
|
2026-01-29 11:12:00 +00:00
|
|
|
utralib = { version = "0.1.27", optional = true, default-features = false }
|
2021-10-08 12:01:13 +00:00
|
|
|
|
2022-01-08 17:29:28 +00:00
|
|
|
# for automatic SSID management and AP list storage
|
2024-01-14 16:14:39 +00:00
|
|
|
pddb = { path = "../pddb" }
|
2022-01-08 17:29:28 +00:00
|
|
|
|
2025-10-06 05:17:21 +00:00
|
|
|
xous-semver = "0.1.5"
|
2022-07-10 20:58:48 +00:00
|
|
|
|
2021-10-08 12:01:13 +00:00
|
|
|
[dependencies.smoltcp]
|
2023-12-24 04:11:18 +00:00
|
|
|
version = "0.11.0"
|
|
|
|
|
|
2023-09-29 06:01:29 +00:00
|
|
|
# path = "../../../smoltcp"
|
2023-12-24 04:11:18 +00:00
|
|
|
# git = "https://github.com/betrusted-io/smoltcp.git"
|
|
|
|
|
# rev = "8b59d57d9e392d704fdeb5029d691b9155a3687a"
|
2023-12-22 14:04:07 +00:00
|
|
|
# branch = "main"
|
|
|
|
|
|
2022-05-12 16:30:12 +00:00
|
|
|
default-features = false
|
|
|
|
|
features = [
|
2024-01-14 16:14:39 +00:00
|
|
|
"std",
|
|
|
|
|
"log", # needed for `cargo test --no-default-features --features default` :/
|
|
|
|
|
"medium-ethernet",
|
|
|
|
|
"medium-ip",
|
2022-05-12 16:30:12 +00:00
|
|
|
"phy-raw_socket",
|
2024-01-14 16:14:39 +00:00
|
|
|
"proto-ipv4",
|
|
|
|
|
"proto-ipv6",
|
|
|
|
|
"socket-raw",
|
|
|
|
|
"socket-icmp",
|
|
|
|
|
"socket-udp",
|
|
|
|
|
"socket-tcp",
|
2022-05-12 16:30:12 +00:00
|
|
|
]
|
2021-10-08 12:01:13 +00:00
|
|
|
|
|
|
|
|
[features]
|
2022-10-25 11:29:02 +00:00
|
|
|
precursor = ["utralib/precursor"]
|
2022-10-01 18:20:03 +00:00
|
|
|
hosted = ["utralib/hosted"]
|
2022-10-25 11:29:02 +00:00
|
|
|
renode = ["utralib/renode"]
|
2022-03-02 12:43:01 +00:00
|
|
|
renode-minimal = []
|
2021-10-08 12:01:13 +00:00
|
|
|
default = []
|