diff options
| author | René van Dorst <[email protected]> | 2023-08-27 23:36:16 +0200 |
|---|---|---|
| committer | René van Dorst <[email protected]> | 2023-08-28 00:31:51 +0200 |
| commit | 5c27265a21681938819230fb3d5df1b732bd2470 (patch) | |
| tree | 3a4c8cddeb5a97472528751bac40470bc87d8334 /embassy-net-adin1110/Cargo.toml | |
| parent | 2c36199dea8230f261bc1ee210f96f47272b8b11 (diff) | |
Add fmt.rs to improve log/debug and embbed and PC
Also add `defmt` to the features list.
Diffstat (limited to 'embassy-net-adin1110/Cargo.toml')
| -rw-r--r-- | embassy-net-adin1110/Cargo.toml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/embassy-net-adin1110/Cargo.toml b/embassy-net-adin1110/Cargo.toml index e74fb7cd4..c13f10187 100644 --- a/embassy-net-adin1110/Cargo.toml +++ b/embassy-net-adin1110/Cargo.toml | |||
| @@ -21,7 +21,6 @@ embassy-time = { version = "0.1.0" } | |||
| 21 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } | 21 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } |
| 22 | bitfield = "0.14.0" | 22 | bitfield = "0.14.0" |
| 23 | 23 | ||
| 24 | |||
| 25 | [dev-dependencies] | 24 | [dev-dependencies] |
| 26 | # reenable when https://github.com/dbrgn/embedded-hal-mock/pull/86 is merged. | 25 | # 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"] }] } | 26 | #embedded-hal-mock = { git = "https://github.com/dbrgn/embedded-hal-mock", branch = "1-alpha", features = ["embedded-hal-async", "eh1"] }] } |
| @@ -33,9 +32,11 @@ futures-test = "0.3.17" | |||
| 33 | 32 | ||
| 34 | [features] | 33 | [features] |
| 35 | default = [ ] | 34 | default = [ ] |
| 36 | defmt = [ "dep:defmt" ] | 35 | defmt = [ "dep:defmt", "embedded-hal-1/defmt-03" ] |
| 36 | log = ["dep:log"] | ||
| 37 | 37 | ||
| 38 | [package.metadata.embassy_docs] | 38 | [package.metadata.embassy_docs] |
| 39 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-adin1110-v$VERSION/embassy-net-adin1110/src/" | 39 | src_base = "https://github.com/embassy-rs/embassy/blob/embassy-net-adin1110-v$VERSION/embassy-net-adin1110/src/" |
| 40 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-adin1110/src/" | 40 | src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-net-adin1110/src/" |
| 41 | target = "thumbv7em-none-eabi" | 41 | target = "thumbv7em-none-eabi" |
| 42 | features = ["defmt"] | ||
