2021-02-03 05:09:37 +01: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 = []
|
|
|
|
|
2021-04-07 19:06:45 +02:00
|
|
|
tcp = ["smoltcp/socket-tcp"]
|
2021-04-12 21:00:23 +02:00
|
|
|
dhcpv4 = ["medium-ethernet", "smoltcp/socket-dhcpv4"]
|
|
|
|
medium-ethernet = ["smoltcp/medium-ethernet"]
|
|
|
|
medium-ip = ["smoltcp/medium-ip"]
|
2021-04-07 19:06:45 +02:00
|
|
|
|
2021-02-03 05:09:37 +01:00
|
|
|
[dependencies]
|
|
|
|
|
2021-03-02 21:20:00 +01:00
|
|
|
defmt = { version = "0.2.0", optional = true }
|
2021-02-03 05:09:37 +01:00
|
|
|
log = { version = "0.4.11", optional = true }
|
|
|
|
|
2021-05-28 23:10:15 +02:00
|
|
|
embassy = { version = "0.1.0", path = "../embassy" }
|
2021-02-03 05:09:37 +01:00
|
|
|
|
|
|
|
managed = { version = "0.8.0", default-features = false, features = [ "map" ]}
|
2021-06-04 01:24:14 +02:00
|
|
|
heapless = { version = "0.7.1", default-features = false }
|
2021-02-03 05:09:37 +01:00
|
|
|
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" ]}
|
2021-05-18 17:07:05 +02:00
|
|
|
atomic-pool = "0.2.0"
|
2021-02-03 05:09:37 +01:00
|
|
|
|
|
|
|
[dependencies.smoltcp]
|
2021-05-28 23:10:15 +02:00
|
|
|
git = "https://github.com/smoltcp-rs/smoltcp"
|
|
|
|
rev = "ec59aba5e10cf91df0c9253d9c2aca4dd143d2ff"
|
2021-02-03 05:09:37 +01:00
|
|
|
default-features = false
|
|
|
|
features = [
|
|
|
|
"proto-ipv4",
|
2021-04-12 21:00:23 +02:00
|
|
|
"socket",
|
2021-02-03 05:09:37 +01:00
|
|
|
"async",
|
|
|
|
]
|