diff options
| author | diogo464 <[email protected]> | 2025-12-05 19:29:52 +0000 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-12-05 19:29:52 +0000 |
| commit | 3a3d635adddf5cb16a93827e688e061613a083d7 (patch) | |
| tree | e6be0a075f80d5cfb11b1882e0086727bfe699e9 /Cargo.toml | |
| parent | b609a315e7921dcc712da6955890f4dc7c2c4b9f (diff) | |
reworked logging
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 13 |
1 files changed, 10 insertions, 3 deletions
| @@ -3,15 +3,21 @@ name = "embassy-ha" | |||
| 3 | version = "0.1.0" | 3 | version = "0.1.0" |
| 4 | edition = "2024" | 4 | edition = "2024" |
| 5 | 5 | ||
| 6 | [features] | ||
| 7 | default = [] | ||
| 8 | defmt = ["dep:defmt", "embassy-net/defmt", "embassy-sync/defmt"] | ||
| 9 | tracing = ["dep:tracing"] | ||
| 10 | |||
| 6 | [dependencies] | 11 | [dependencies] |
| 7 | embedded-mqtt = { path = "./embedded-mqtt" , features = ["embassy-net"] } | 12 | embedded-mqtt = { path = "./embedded-mqtt" , features = ["embassy-net"] } |
| 8 | embassy-net = { version = "0.7.1", features = ["defmt", "medium-ip", "proto-ipv4", "tcp"] } | 13 | embassy-net = { version = "0.7.1", features = ["medium-ip", "proto-ipv4", "tcp"] } |
| 9 | heapless = "0.9.2" | 14 | heapless = "0.9.2" |
| 10 | embassy-time = { version = "0.5.0" } | 15 | embassy-time = { version = "0.5.0" } |
| 11 | serde-json-core = "0.6.0" | 16 | serde-json-core = "0.6.0" |
| 12 | serde = { version = "1.0.228", default-features = false, features = ["derive"] } | 17 | serde = { version = "1.0.228", default-features = false, features = ["derive"] } |
| 13 | defmt = "1.0.1" | 18 | defmt = { version = "1.0.1", optional = true } |
| 14 | embassy-sync = { version = "0.7.2", features = ["defmt"] } | 19 | tracing = { version = "0.1", optional = true, default-features = false } |
| 20 | embassy-sync = { version = "0.7.2" } | ||
| 15 | embassy-futures = "0.1.2" | 21 | embassy-futures = "0.1.2" |
| 16 | embedded-io-async = "0.6" | 22 | embedded-io-async = "0.6" |
| 17 | 23 | ||
| @@ -23,3 +29,4 @@ static_cell = "2.1.1" | |||
| 23 | embedded-io-async = { version = "0.6", features = ["std"] } | 29 | embedded-io-async = { version = "0.6", features = ["std"] } |
| 24 | critical-section = { version = "1", features = ["std"] } | 30 | critical-section = { version = "1", features = ["std"] } |
| 25 | rand = "0.9.2" | 31 | rand = "0.9.2" |
| 32 | tracing-subscriber = "0.3" | ||
