Skip to content

Commit

Permalink
adding no_std feature
Browse files Browse the repository at this point in the history
Signed-off-by: Jurek <[email protected]>
  • Loading branch information
dscso committed May 20, 2024
1 parent a2acf06 commit de3bcd4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions mqtt-format/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ categories = ["embedded", "parsing"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["mqttv5"]
default = ["mqttv5", "num_enum/std"]
yoke = ["dep:yoke"]
mqttv3 = ["dep:futures", "dep:nom", "dep:nom-supreme"]
mqttv3 = ["dep:futures", "dep:nom", "dep:nom-supreme", "dep:thiserror"]
mqttv5 = ["dep:winnow"]

[dependencies]
futures = { version = "0.3.28", optional = true }
nom = { version = "7.1.3", optional = true }
nom-supreme = { version = "0.8.0", optional = true }
num_enum = "0.7.2"
num_enum = { version = "0.7.2", default-features = false }
paste = "1.0.14"
thiserror = "1.0.40"
winnow = { version = "0.6.5", optional = true }
yoke = { version = "0.7.0", features = ["derive"], optional = true }
winnow = { version = "0.6.5", optional = true, default-features = false }
thiserror = { version = "1.0.40", optional = true }
yoke = { version = "0.7.0", features = ["derive"], optional = true, default-features = false }

[dev-dependencies]
pretty_assertions = "1.3.0"
Expand Down

0 comments on commit de3bcd4

Please sign in to comment.