embassy/embassy-net/Cargo.toml

58 lines
2.0 KiB
TOML
Raw Permalink Normal View History

2021-02-03 05:09:37 +01:00
[package]
name = "embassy-net"
version = "0.1.0"
2022-06-18 02:15:48 +02:00
edition = "2021"
license = "MIT OR Apache-2.0"
2021-02-03 05:09:37 +01:00
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/"
2022-06-26 23:55:38 +02:00
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net/src/"
2023-03-06 17:50:57 +01:00
features = ["nightly", "unstable-traits", "defmt", "tcp", "udp", "dns", "dhcpv4", "proto-ipv6", "medium-ethernet", "medium-ip", "igmp"]
2022-08-15 20:42:36 +02:00
target = "thumbv7em-none-eabi"
2022-04-05 21:05:09 +02:00
2021-02-03 05:09:37 +01:00
[features]
default = []
2023-02-10 19:04:54 +01:00
std = []
2021-02-03 05:09:37 +01:00
defmt = ["dep:defmt", "smoltcp/defmt", "embassy-net-driver/defmt"]
nightly = ["dep:embedded-io", "embedded-io?/async", "dep:embedded-nal-async"]
unstable-traits = []
2022-07-28 10:25:47 +02:00
udp = ["smoltcp/socket-udp"]
tcp = ["smoltcp/socket-tcp"]
2023-01-31 22:06:41 +01:00
dns = ["smoltcp/socket-dns", "smoltcp/proto-dns"]
dhcpv4 = ["medium-ethernet", "smoltcp/socket-dhcpv4"]
proto-ipv6 = ["smoltcp/proto-ipv6"]
medium-ethernet = ["smoltcp/medium-ethernet"]
medium-ip = ["smoltcp/medium-ip"]
2023-03-06 17:50:57 +01:00
igmp = ["smoltcp/proto-igmp"]
2021-02-03 05:09:37 +01:00
[dependencies]
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
2023-02-07 18:15:26 +01:00
smoltcp = { version = "0.9.0", default-features = false, features = [
"proto-ipv4",
"socket",
"async",
]}
embassy-net-driver = { version = "0.1.0", path = "../embassy-net-driver" }
2023-02-06 20:18:12 +01:00
embassy-hal-common = { version = "0.1.0", path = "../embassy-hal-common" }
embassy-time = { version = "0.1.0", path = "../embassy-time" }
2023-04-13 23:03:21 +02:00
embassy-sync = { version = "0.2.0", path = "../embassy-sync" }
2022-11-21 23:31:31 +01:00
embedded-io = { version = "0.4.0", optional = true }
2021-02-03 05:09:37 +01: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" ] }
atomic-pool = "1.0"
2023-02-10 17:43:23 +01:00
embedded-nal-async = { version = "0.4.0", optional = true }
atomic-polyfill = { version = "1.0" }