Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
Make MQTT optional but default
Browse files Browse the repository at this point in the history
  • Loading branch information
0nkery committed Jul 19, 2023
1 parent 089a0cf commit ecb13cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "svc-agent"
version = "0.21.0"
version = "0.22.0"
authors = ["Andrei Nesterov <ae.nesterov@gmail.com>"]
description = "An agent library."
readme = "README.md"
Expand All @@ -14,7 +14,9 @@ edition = "2018"
doctest = false

[features]
default = ["mqtt"]
queue-counter = []
mqtt = ["rumqttc"]
sqlx = ["dep:sqlx", "svc-authn/sqlx"]

[dependencies]
Expand All @@ -23,7 +25,7 @@ base64 = "0.21"
chrono = { version = "0.4", features = ["serde"] }
http = "0.2"
log = "0.4"
rumqttc = "0.7"
rumqttc = { version = "0.7", optional = true }
serde = { version = "1.0", features = ["derive" ] }
serde_json = "1.0"
sqlx = { version = "0.6", features = ["runtime-tokio-native-tls", "postgres"], optional = true }
Expand Down

0 comments on commit ecb13cf

Please sign in to comment.