2021-02-03 05:09:37 +01:00
|
|
|
[package]
|
|
|
|
name = "embassy-net"
|
2023-10-31 09:18:00 +01:00
|
|
|
version = "0.2.1"
|
2022-06-18 02:15:48 +02:00
|
|
|
edition = "2021"
|
2022-10-07 12:41:56 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2023-06-29 19:51:16 +02:00
|
|
|
description = "Async TCP/IP network stack for embedded systems"
|
|
|
|
repository = "https://github.com/embassy-rs/embassy"
|
|
|
|
categories = [
|
|
|
|
"embedded",
|
|
|
|
"no-std",
|
|
|
|
"asynchronous",
|
2023-08-25 01:03:24 +02:00
|
|
|
"network-programming",
|
2023-06-29 19:51:16 +02: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-08-07 13:43:09 +02:00
|
|
|
features = ["nightly", "defmt", "tcp", "udp", "dns", "dhcpv4", "proto-ipv6", "medium-ethernet", "medium-ip", "medium-ieee802154", "igmp"]
|
2022-08-15 20:42:36 +02:00
|
|
|
target = "thumbv7em-none-eabi"
|
2022-04-05 21:05:09 +02:00
|
|
|
|
2023-05-15 00:39:57 +02:00
|
|
|
[package.metadata.docs.rs]
|
2023-08-07 13:43:09 +02:00
|
|
|
features = ["nightly", "defmt", "tcp", "udp", "dns", "dhcpv4", "proto-ipv6", "medium-ethernet", "medium-ip", "medium-ieee802154", "igmp"]
|
2023-05-15 00:39:57 +02:00
|
|
|
|
2021-02-03 05:09:37 +01:00
|
|
|
[features]
|
2022-04-12 20:14:26 +02:00
|
|
|
default = []
|
2023-02-10 19:04:54 +01:00
|
|
|
std = []
|
2021-02-03 05:09:37 +01:00
|
|
|
|
2023-11-14 08:30:39 +01:00
|
|
|
defmt = ["dep:defmt", "smoltcp/defmt", "embassy-net-driver/defmt", "heapless/defmt-03"]
|
2022-04-12 20:14:26 +02:00
|
|
|
|
2023-08-07 13:43:09 +02:00
|
|
|
nightly = ["dep:embedded-io-async", "dep:embedded-nal-async"]
|
2022-08-30 19:25:36 +02:00
|
|
|
|
2022-07-28 10:25:47 +02:00
|
|
|
udp = ["smoltcp/socket-udp"]
|
2021-04-07 19:06:45 +02:00
|
|
|
tcp = ["smoltcp/socket-tcp"]
|
2023-01-31 22:06:41 +01:00
|
|
|
dns = ["smoltcp/socket-dns", "smoltcp/proto-dns"]
|
2023-06-01 17:10:18 +02:00
|
|
|
dhcpv4 = ["proto-ipv4", "medium-ethernet", "smoltcp/socket-dhcpv4"]
|
2023-10-06 20:47:31 +02:00
|
|
|
dhcpv4-hostname = ["dhcpv4"]
|
2023-06-01 17:10:18 +02:00
|
|
|
proto-ipv4 = ["smoltcp/proto-ipv4"]
|
2022-06-01 13:48:09 +02:00
|
|
|
proto-ipv6 = ["smoltcp/proto-ipv6"]
|
2021-04-12 21:00:23 +02:00
|
|
|
medium-ethernet = ["smoltcp/medium-ethernet"]
|
|
|
|
medium-ip = ["smoltcp/medium-ip"]
|
2023-07-16 02:02:04 +02:00
|
|
|
medium-ieee802154 = ["smoltcp/medium-ieee802154"]
|
2023-03-06 17:50:57 +01:00
|
|
|
igmp = ["smoltcp/proto-igmp"]
|
2021-04-07 19:06:45 +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
|
|
|
|
2023-11-14 08:30:39 +01:00
|
|
|
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp.git", rev = "b57e2f9e70e82a13f31d5ea17e55232c11cc2b2d", default-features = false, features = [
|
2023-02-07 18:15:26 +01:00
|
|
|
"socket",
|
|
|
|
"async",
|
2023-06-26 01:59:25 +02:00
|
|
|
] }
|
2023-02-07 18:15:26 +01:00
|
|
|
|
2023-10-15 19:38:42 +02:00
|
|
|
embassy-net-driver = { version = "0.2.0", path = "../embassy-net-driver" }
|
2023-10-16 20:07:48 +02:00
|
|
|
embassy-time = { version = "0.1.5", path = "../embassy-time" }
|
2023-10-31 09:18:00 +01:00
|
|
|
embassy-sync = { version = "0.4.0", path = "../embassy-sync" }
|
2023-11-29 16:37:07 +01:00
|
|
|
embedded-io-async = { version = "0.6.1", optional = true }
|
2021-02-03 05:09:37 +01:00
|
|
|
|
2022-08-17 23:40:16 +02:00
|
|
|
managed = { version = "0.8.0", default-features = false, features = [ "map" ] }
|
2023-11-08 22:59:58 +01:00
|
|
|
heapless = { version = "0.8", default-features = false }
|
2022-08-17 23:40:16 +02:00
|
|
|
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 14:45:07 +02:00
|
|
|
atomic-pool = "1.0"
|
2023-11-29 16:37:07 +01:00
|
|
|
embedded-nal-async = { version = "0.7.1", optional = true }
|