mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-24 09:40:52 +00:00
Now that I understand how smoltcp does ping better I have regrets. The demo example in smoltcp uses a funky macro that was a bit misleading. I have gotten rid of that but I probably would have made different decisions in implementing this had I understood the API better. Anyways. It works, but has some trouble handling the cases of timeouts sometimes.
41 lines
1.3 KiB
TOML
41 lines
1.3 KiB
TOML
[package]
|
|
name = "net"
|
|
version = "0.1.0"
|
|
authors = ["bunnie <bunnie@kosagi.com>"]
|
|
edition = "2018"
|
|
description = "Network middleware"
|
|
|
|
[dependencies]
|
|
xous = { path = "../../xous-rs" }
|
|
xous-ipc = {path="../../xous-ipc"}
|
|
log-server = { path = "../log-server" }
|
|
ticktimer-server = { path = "../ticktimer-server" }
|
|
xous-names = { path = "../xous-names" }
|
|
log = "0.4"
|
|
num-derive = {version = "0.3", default-features = false}
|
|
num-traits = {version = "0.2", default-features = false}
|
|
susres = {path = "../susres"}
|
|
#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"}
|
|
|
|
[dependencies.smoltcp]
|
|
# ugh. have to reference `main` directly because they haven't pushed a new tag in months, and none
|
|
# of the worked examples match the actual documentation now.
|
|
# pin at a commit, at least, so we aren't building on shifting sand
|
|
git = "https://github.com/smoltcp-rs/smoltcp.git"
|
|
rev = "35e833e33dfd3e4efc3eb7d5de06bec17c54b011"
|
|
#path = "../../../smoltcp"
|
|
#features = ["verbose"]
|
|
#version = "0.7.5"
|
|
#features = ["proto-ipv4"]
|
|
|
|
|
|
[target.'cfg(not(any(windows,unix)))'.dependencies]
|
|
utralib = { path = "../../utralib"}
|
|
|
|
[features]
|
|
default = []
|