aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-12-09 21:33:36 +0000
committerdiogo464 <[email protected]>2025-12-09 21:33:36 +0000
commit7d5367d376878cd7df95c28263b5d5ba62b90fce (patch)
tree587753da90cf23bbbf53cad03436c068c128405e
parent8ac9ddd2cbc9cf454eae066e5e60d05ee714a83e (diff)
embedded-mqtt: removed embassy-net dep
-rw-r--r--Cargo.lock1
-rw-r--r--Cargo.toml11
-rw-r--r--embedded-mqtt/Cargo.toml4
3 files changed, 9 insertions, 7 deletions
diff --git a/Cargo.lock b/Cargo.lock
index d0f4fdd..9db673d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -292,7 +292,6 @@ dependencies = [
292name = "embedded-mqtt" 292name = "embedded-mqtt"
293version = "0.1.0" 293version = "0.1.0"
294dependencies = [ 294dependencies = [
295 "embassy-net",
296 "embedded-io-async", 295 "embedded-io-async",
297] 296]
298 297
diff --git a/Cargo.toml b/Cargo.toml
index 5f679a9..f3061a4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,14 @@
1[package] 1[package]
2name = "embassy-ha" 2name = "embassy-ha"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2024" 4edition = "2021"
5authors = ["diogo464 <[email protected]>"]
6description = "MQTT Home Assistant integration library for Embassy async runtime"
7license = "MIT OR Apache-2.0"
8repository = "https://github.com/diogo464/embassy-ha"
9readme = "README.md"
10keywords = ["homeassistant", "mqtt", "iot", "embedded", "embassy"]
11categories = ["embedded", "network-programming"]
5 12
6[features] 13[features]
7default = [] 14default = []
@@ -9,7 +16,7 @@ defmt = ["dep:defmt", "embassy-net/defmt", "embassy-sync/defmt"]
9tracing = ["dep:tracing"] 16tracing = ["dep:tracing"]
10 17
11[dependencies] 18[dependencies]
12embedded-mqtt = { path = "./embedded-mqtt" , features = ["embassy-net"] } 19embedded-mqtt = { path = "./embedded-mqtt" }
13embassy-net = { version = "0.7.1", features = ["medium-ip", "proto-ipv4", "tcp", "dns"] } 20embassy-net = { version = "0.7.1", features = ["medium-ip", "proto-ipv4", "tcp", "dns"] }
14heapless = "0.9.2" 21heapless = "0.9.2"
15embassy-time = { version = "0.5.0" } 22embassy-time = { version = "0.5.0" }
diff --git a/embedded-mqtt/Cargo.toml b/embedded-mqtt/Cargo.toml
index 749eb2b..cfb3ba9 100644
--- a/embedded-mqtt/Cargo.toml
+++ b/embedded-mqtt/Cargo.toml
@@ -3,9 +3,5 @@ name = "embedded-mqtt"
3version = "0.1.0" 3version = "0.1.0"
4edition = "2024" 4edition = "2024"
5 5
6[features]
7embassy-net = ["dep:embassy-net"]
8
9[dependencies] 6[dependencies]
10embassy-net = { version = "0.7", features = ["tcp", "proto-ipv4", "medium-ip"], optional = true }
11embedded-io-async = "0.6" 7embedded-io-async = "0.6"