2021-02-03 04:09:37 +00:00
|
|
|
[package]
|
|
|
|
name = "embassy-net"
|
|
|
|
version = "0.1.0"
|
2022-06-18 00:15:48 +00:00
|
|
|
edition = "2021"
|
2022-10-07 10:41:56 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2021-02-03 04:09:37 +00:00
|
|
|
|
2022-04-05 19:05:09 +00:00
|
|
|
|
|
|
|
[package.metadata.embassy_docs]
|
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-v$VERSION/embassy-net/src/"
|
2022-06-26 21:55:38 +00:00
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net/src/"
|
2022-09-01 22:58:31 +00:00
|
|
|
features = ["pool-4", "defmt", "tcp", "dns", "dhcpv4", "proto-ipv6", "medium-ethernet", "medium-ip"]
|
2022-08-15 18:42:36 +00:00
|
|
|
target = "thumbv7em-none-eabi"
|
2022-04-05 19:05:09 +00:00
|
|
|
|
2021-02-03 04:09:37 +00:00
|
|
|
[features]
|
2022-04-12 18:14:26 +00:00
|
|
|
default = []
|
2021-02-03 04:09:37 +00:00
|
|
|
std = []
|
|
|
|
|
2022-04-12 18:14:26 +00:00
|
|
|
defmt = ["dep:defmt", "smoltcp/defmt"]
|
|
|
|
|
2022-08-30 17:25:36 +00:00
|
|
|
nightly = ["dep:embedded-io", "embedded-io?/async", "dep:embedded-nal-async"]
|
|
|
|
unstable-traits = []
|
|
|
|
|
2022-07-28 08:25:47 +00:00
|
|
|
udp = ["smoltcp/socket-udp"]
|
2021-04-07 17:06:45 +00:00
|
|
|
tcp = ["smoltcp/socket-tcp"]
|
2022-05-23 01:50:43 +00:00
|
|
|
dns = ["smoltcp/socket-dns"]
|
2021-04-12 19:00:23 +00:00
|
|
|
dhcpv4 = ["medium-ethernet", "smoltcp/socket-dhcpv4"]
|
2022-06-01 11:48:09 +00:00
|
|
|
proto-ipv6 = ["smoltcp/proto-ipv6"]
|
2021-04-12 19:00:23 +00:00
|
|
|
medium-ethernet = ["smoltcp/medium-ethernet"]
|
|
|
|
medium-ip = ["smoltcp/medium-ip"]
|
2021-04-07 17:06:45 +00:00
|
|
|
|
2021-06-14 21:06:12 +00:00
|
|
|
pool-4 = []
|
|
|
|
pool-8 = []
|
|
|
|
pool-16 = []
|
|
|
|
pool-32 = []
|
2022-04-27 19:27:28 +00:00
|
|
|
pool-64 = []
|
|
|
|
pool-128 = []
|
2021-06-14 21:06:12 +00:00
|
|
|
|
2021-02-03 04:09:37 +00:00
|
|
|
[dependencies]
|
|
|
|
|
2021-11-15 16:08:51 +00:00
|
|
|
defmt = { version = "0.3", optional = true }
|
2021-09-10 22:10:46 +00:00
|
|
|
log = { version = "0.4.14", optional = true }
|
2021-02-03 04:09:37 +00:00
|
|
|
|
2022-08-17 21:40:16 +00:00
|
|
|
embassy-time = { version = "0.1.0", path = "../embassy-time" }
|
2022-08-22 19:46:09 +00:00
|
|
|
embassy-sync = { version = "0.1.0", path = "../embassy-sync" }
|
2022-11-21 22:31:31 +00:00
|
|
|
embedded-io = { version = "0.4.0", optional = true }
|
2021-02-03 04:09:37 +00:00
|
|
|
|
2022-08-17 21:40:16 +00:00
|
|
|
managed = { version = "0.8.0", default-features = false, features = [ "map" ] }
|
|
|
|
heapless = { version = "0.7.5", default-features = false }
|
|
|
|
as-slice = "0.2.1"
|
|
|
|
generic-array = { version = "0.14.4", default-features = false }
|
|
|
|
stable_deref_trait = { version = "1.2.0", default-features = false }
|
|
|
|
futures = { version = "0.3.17", default-features = false, features = [ "async-await" ] }
|
2022-08-18 12:45:07 +00:00
|
|
|
atomic-pool = "1.0"
|
|
|
|
atomic-polyfill = "1.0.1"
|
2022-11-21 22:31:31 +00:00
|
|
|
embedded-nal-async = { git = "https://github.com/embassy-rs/embedded-nal.git", rev = "691601e550449a53ab3a7c5eaa0411aee0a64ed0", optional = true }
|
2021-02-03 04:09:37 +00:00
|
|
|
|
|
|
|
[dependencies.smoltcp]
|
2021-12-12 14:32:36 +00:00
|
|
|
version = "0.8.0"
|
2022-05-23 01:50:43 +00:00
|
|
|
git = "https://github.com/smoltcp-rs/smoltcp"
|
|
|
|
rev = "ed0cf16750a42f30e31fcaf5347915592924b1e3"
|
2021-02-03 04:09:37 +00:00
|
|
|
default-features = false
|
|
|
|
features = [
|
|
|
|
"proto-ipv4",
|
2021-04-12 19:00:23 +00:00
|
|
|
"socket",
|
2021-02-03 04:09:37 +00:00
|
|
|
"async",
|
|
|
|
]
|