embassy/embassy-net/Cargo.toml

51 lines
1.2 KiB
TOML
Raw Normal View History

2021-02-03 04:09:37 +00:00
[package]
name = "embassy-net"
version = "0.1.0"
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
edition = "2018"
[features]
std = []
defmt-trace = []
defmt-debug = []
defmt-info = []
defmt-warn = []
defmt-error = []
tcp = ["smoltcp/socket-tcp"]
dhcpv4 = ["smoltcp/socket-dhcpv4"]
2021-02-03 04:09:37 +00:00
[dependencies]
2021-03-02 20:20:00 +00:00
defmt = { version = "0.2.0", optional = true }
2021-02-03 04:09:37 +00:00
log = { version = "0.4.11", optional = true }
embassy = { version = "0.1.0" }
managed = { version = "0.8.0", default-features = false, features = [ "map" ]}
heapless = { version = "0.5.6", default-features = false }
as-slice = { version = "0.1.4" }
generic-array = { version = "0.14.4", default-features = false }
stable_deref_trait = { version = "1.2.0", default-features = false }
futures = { version = "0.3.5", default-features = false, features = [ "async-await" ]}
atomic-pool = "0.1.0"
2021-02-03 04:09:37 +00:00
[dependencies.smoltcp]
version = "0.7.0"
2021-02-03 04:09:37 +00:00
#git = "https://github.com/akiles/smoltcp"
#rev = "00952e2c5cdf5667a1dfb6142258055f58d3851c"
default-features = false
features = [
"medium-ethernet",
"medium-ip",
"proto-ipv4",
#"proto-dhcpv4",
2021-02-03 04:09:37 +00:00
#"proto-igmp",
#"proto-ipv6",
#"socket-raw",
#"socket-icmp",
#"socket-udp",
#"socket-tcp",
2021-02-03 04:09:37 +00:00
"async",
]