aboutsummaryrefslogtreecommitdiff
path: root/embassy-net-adin1110/Cargo.toml
diff options
context:
space:
mode:
authorRenĂ© van Dorst <[email protected]>2023-08-18 00:01:13 +0200
committerRenĂ© van Dorst <[email protected]>2023-08-24 00:43:51 +0200
commite19f7d9a76fa13012b6c606167a6a8f215875a4e (patch)
treeec1eb3e45287a540e595739538449c6ace60e82c /embassy-net-adin1110/Cargo.toml
parentbed1f07c15455f7c88364a06b8c94b3c781c2f68 (diff)
Add embassy-net-adin1110
This add a library for Analog ADIN1110 SPE SPI chip. This library is inspired by `embassy-net-w5500`.
Diffstat (limited to 'embassy-net-adin1110/Cargo.toml')
-rw-r--r--embassy-net-adin1110/Cargo.toml41
1 files changed, 41 insertions, 0 deletions
diff --git a/embassy-net-adin1110/Cargo.toml b/embassy-net-adin1110/Cargo.toml
new file mode 100644
index 000000000..e74fb7cd4
--- /dev/null
+++ b/embassy-net-adin1110/Cargo.toml
@@ -0,0 +1,41 @@
1[package]
2name = "embassy-net-adin1110"
3version = "0.1.0"
4description = "embassy-net driver for the ADIN1110 ethernet chip"
5keywords = ["embedded", "ADIN1110", "embassy-net", "embedded-hal-async", "ethernet", "async"]
6categories = ["embedded", "hardware-support", "no-std", "network-programming", "async"]
7license = "MIT OR Apache-2.0"
8edition = "2021"
9
10# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
11
12[dependencies]
13heapless = "0.7.16"
14defmt = { version = "0.3", optional = true }
15log = { version = "0.4.4", default-features = false, optional = true }
16embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-rc.1" }
17embedded-hal-async = { version = "=1.0.0-rc.1" }
18embedded-hal-bus = { version = "=0.1.0-rc.1", features = ["async"] }
19embassy-net-driver-channel = { version = "0.1.0", path = "../embassy-net-driver-channel" }
20embassy-time = { version = "0.1.0" }
21embassy-futures = { version = "0.1.0", path = "../embassy-futures" }
22bitfield = "0.14.0"
23
24
25[dev-dependencies]
26# reenable when https://github.com/dbrgn/embedded-hal-mock/pull/86 is merged.
27#embedded-hal-mock = { git = "https://github.com/dbrgn/embedded-hal-mock", branch = "1-alpha", features = ["embedded-hal-async", "eh1"] }] }
28embedded-hal-mock = { git = "https://github.com/newAM/embedded-hal-mock", branch = "eh1-rc.1", features = ["embedded-hal-async", "eh1"] }
29crc = "3.0.1"
30env_logger = "0.10"
31critical-section = { version = "1.1.1", features = ["std"] }
32futures-test = "0.3.17"
33
34[features]
35default = [ ]
36defmt = [ "dep:defmt" ]
37
38[package.metadata.embassy_docs]
39src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-adin1110-v$VERSION/embassy-net-adin1110/src/"
40src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-adin1110/src/"
41target = "thumbv7em-none-eabi"