/
Cargo.toml
65 lines (58 loc) · 1.82 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
57
58
59
60
61
62
63
64
65
[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.60"
xous-ipc = "0.9.60"
log-server = { package = "xous-api-log", version = "0.1.56" }
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.56" }
xous-names = { package = "xous-api-names", version = "0.9.58" }
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.56" }
#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 = { git = "https://github.com/betrusted-io/com_rs", rev = "891bdd3ca8e41f81510d112483e178aea3e3a921" }
modals = { path = "../modals" }
locales = { path = "../../locales" }
utralib = { version = "0.1.24", optional = true, default-features = false }
# for automatic SSID management and AP list storage
pddb = { path = "../pddb" }
xous-semver = "0.1.2"
[dependencies.smoltcp]
version = "0.11.0"
# path = "../../../smoltcp"
# git = "https://github.com/betrusted-io/smoltcp.git"
# rev = "8b59d57d9e392d704fdeb5029d691b9155a3687a"
# branch = "main"
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 = []