[package]
edition = "2024"
name = "xarxa-driver"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Driver trait for the `xarxa` network stack."
homepage = "https://github.com/embassy-rs/xarxa"
documentation = "https://docs.rs/xarxa/"
readme = "README.md"
keywords = [
"ip",
"tcp",
"udp",
"ethernet",
"network",
]
categories = [
"embedded",
"network-programming",
]
license = "0BSD"
repository = "https://github.com/embassy-rs/xarxa.git"
[package.metadata.embassy_docs]
src_base = "https://github.com/embassy-rs/xarxa/blob/xarxa-driver-v$VERSION/xarxa-driver/src/"
src_base_git = "https://github.com/embassy-rs/xarxa/blob/$COMMIT/xarxa-driver/src/"
features = [
"packetmeta-timestamp",
"async",
]
target = "x86_64-unknown-linux-gnu"
[package.metadata.docs.rs]
features = [
"async",
"packetmeta-timestamp",
]
targets = ["x86_64-unknown-linux-gnu"]
[features]
async = []
defmt = ["dep:defmt"]
packet-buf-align-16 = []
packet-buf-align-2 = []
packet-buf-align-32 = []
packet-buf-align-4 = []
packet-buf-align-8 = []
packet-buf-count-1 = []
packet-buf-count-1024 = []
packet-buf-count-128 = []
packet-buf-count-16 = []
packet-buf-count-2 = []
packet-buf-count-2048 = []
packet-buf-count-256 = []
packet-buf-count-3 = []
packet-buf-count-32 = []
packet-buf-count-4 = []
packet-buf-count-4096 = []
packet-buf-count-5 = []
packet-buf-count-512 = []
packet-buf-count-6 = []
packet-buf-count-64 = []
packet-buf-count-7 = []
packet-buf-count-8 = []
packetmeta-id = []
packetmeta-timestamp = ["packetmeta-id"]
[lib]
name = "xarxa_driver"
path = "src/lib.rs"
[dependencies.defmt]
version = "1"
optional = true
[dependencies.document-features]
version = "0.2.11"
[target.'cfg(not(target_has_atomic = "32"))'.dependencies.critical-section]
version = "1"