embassy/embassy-net/Cargo.toml

67 lines
2.3 KiB
TOML
Raw Normal View History

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