2023-08-18 00:01:13 +02:00
|
|
|
[package]
|
|
|
|
name = "embassy-net-adin1110"
|
2023-08-28 00:02:09 +02:00
|
|
|
version = "0.2.0"
|
2023-08-18 00:01:13 +02:00
|
|
|
description = "embassy-net driver for the ADIN1110 ethernet chip"
|
|
|
|
keywords = ["embedded", "ADIN1110", "embassy-net", "embedded-hal-async", "ethernet", "async"]
|
|
|
|
categories = ["embedded", "hardware-support", "no-std", "network-programming", "async"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
heapless = "0.7.16"
|
|
|
|
defmt = { version = "0.3", optional = true }
|
2023-08-28 19:29:32 +02:00
|
|
|
log = { version = "0.4", default-features = false, optional = true }
|
2023-08-18 00:01:13 +02:00
|
|
|
embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" }
|
|
|
|
embedded-hal-async = { version = "=1.0.0-rc.1" }
|
|
|
|
embedded-hal-bus = { version = "=0.1.0-rc.1", features = ["async"] }
|
|
|
|
embassy-net-driver-channel = { version = "0.1.0", path = "../embassy-net-driver-channel" }
|
2023-10-12 18:10:34 +02:00
|
|
|
embassy-time = { version = "0.1.4", path = "../embassy-time" }
|
2023-08-18 00:01:13 +02:00
|
|
|
embassy-futures = { version = "0.1.0", path = "../embassy-futures" }
|
|
|
|
bitfield = "0.14.0"
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
# reenable when https://github.com/dbrgn/embedded-hal-mock/pull/86 is merged.
|
|
|
|
#embedded-hal-mock = { git = "https://github.com/dbrgn/embedded-hal-mock", branch = "1-alpha", features = ["embedded-hal-async", "eh1"] }] }
|
|
|
|
embedded-hal-mock = { git = "https://github.com/newAM/embedded-hal-mock", branch = "eh1-rc.1", features = ["embedded-hal-async", "eh1"] }
|
|
|
|
crc = "3.0.1"
|
|
|
|
env_logger = "0.10"
|
2023-08-28 19:29:32 +02:00
|
|
|
critical-section = { version = "1.1.2", features = ["std"] }
|
|
|
|
futures-test = "0.3.28"
|
2023-08-18 00:01:13 +02:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = [ ]
|
2023-08-27 23:36:16 +02:00
|
|
|
defmt = [ "dep:defmt", "embedded-hal-1/defmt-03" ]
|
|
|
|
log = ["dep:log"]
|
2023-08-18 00:01:13 +02:00
|
|
|
|
|
|
|
[package.metadata.embassy_docs]
|
|
|
|
src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-adin1110-v$VERSION/embassy-net-adin1110/src/"
|
|
|
|
src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-adin1110/src/"
|
|
|
|
target = "thumbv7em-none-eabi"
|
2023-08-27 23:36:16 +02:00
|
|
|
features = ["defmt"]
|