2021-02-03 05:09:37 +01:00
|
|
|
[package]
|
|
|
|
name = "embassy-net"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Dario Nieuwenhuis <dirbaio@dirbaio.net>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
2022-04-05 21:05:09 +02:00
|
|
|
|
|
|
|
[package.metadata.embassy_docs]
|
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-v$VERSION/embassy-net/src/"
|
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/master/embassy-net/src/"
|
|
|
|
features = [ "tcp", "dhcpv4", "medium-ethernet", "medium-ip", "embassy/time", "embassy/time-tick-1mhz"]
|
|
|
|
flavors = [
|
|
|
|
{ name = "default", target = "thumbv7em-none-eabihf" },
|
|
|
|
]
|
|
|
|
|
2021-02-03 05:09:37 +01:00
|
|
|
[features]
|
2022-04-12 20:14:26 +02:00
|
|
|
default = []
|
2021-02-03 05:09:37 +01:00
|
|
|
std = []
|
|
|
|
|
2022-04-12 20:14:26 +02:00
|
|
|
defmt = ["dep:defmt", "smoltcp/defmt"]
|
|
|
|
|
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-06-14 23:06:12 +02:00
|
|
|
pool-4 = []
|
|
|
|
pool-8 = []
|
|
|
|
pool-16 = []
|
|
|
|
pool-32 = []
|
2022-04-27 21:27:28 +02:00
|
|
|
pool-64 = []
|
|
|
|
pool-128 = []
|
2021-06-14 23:06:12 +02:00
|
|
|
|
2021-02-03 05:09:37 +01:00
|
|
|
[dependencies]
|
|
|
|
|
2021-11-15 17:08:51 +01:00
|
|
|
defmt = { version = "0.3", optional = true }
|
2021-09-11 00:10:46 +02:00
|
|
|
log = { version = "0.4.14", optional = true }
|
2021-02-03 05:09:37 +01:00
|
|
|
|
2021-05-28 23:10:15 +02:00
|
|
|
embassy = { version = "0.1.0", path = "../embassy" }
|
2022-05-19 05:54:15 +02:00
|
|
|
embedded-io = { version = "0.3.0", features = [ "async" ] }
|
2021-02-03 05:09:37 +01:00
|
|
|
|
2021-09-11 00:10:46 +02:00
|
|
|
managed = { version = "0.8.0", default-features = false, features = [ "map" ] }
|
|
|
|
heapless = { version = "0.7.5", default-features = false }
|
|
|
|
as-slice = "0.2.1"
|
2021-02-03 05:09:37 +01:00
|
|
|
generic-array = { version = "0.14.4", default-features = false }
|
|
|
|
stable_deref_trait = { version = "1.2.0", default-features = false }
|
2021-09-11 00:10:46 +02:00
|
|
|
futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] }
|
|
|
|
atomic-pool = "0.2.1"
|
2021-02-03 05:09:37 +01:00
|
|
|
|
|
|
|
[dependencies.smoltcp]
|
2021-12-12 15:32:36 +01:00
|
|
|
version = "0.8.0"
|
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",
|
|
|
|
]
|