summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Müller <neikos@neikos.email>2022-12-15 15:30:33 +0100
committerMarcel Müller <neikos@neikos.email>2022-12-15 15:31:09 +0100
commitca63bc2f37bec29c2369113b33ebd3c0bf41d03c (patch)
tree21dbd0793d4a0350420a2a2ebfef596e60055f86
parent051e742cd5bf16500a7e177c0e9c15337f8a235c (diff)
Add yoke feature and explanationfeature/add_fuzzing
Signed-off-by: Marcel Müller <neikos@neikos.email>
-rw-r--r--mqtt-format/Cargo.toml3
-rw-r--r--mqtt-format/README.md3
2 files changed, 6 insertions, 0 deletions
diff --git a/mqtt-format/Cargo.toml b/mqtt-format/Cargo.toml
index ce417ce..e80ecbd 100644
--- a/mqtt-format/Cargo.toml
+++ b/mqtt-format/Cargo.toml
@@ -11,6 +11,9 @@ categories = ["embedded", "parsing"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+[features]
+yoke = ["dep:yoke"]
+
[dependencies]
futures = "0.3.25"
nom = "7.1.1"
diff --git a/mqtt-format/README.md b/mqtt-format/README.md
index 42d35a4..b2735ce 100644
--- a/mqtt-format/README.md
+++ b/mqtt-format/README.md
@@ -4,3 +4,6 @@ A pure Rust MQTT packet parsing/serializing library
`mqtt_format` allows users to get zero-copy and fast parsing and serializing of
MQTT packets. Both v3 and v5 is supported.
+
+This crate supports the [`yoke`](https://docs.rs/yoke/latest/yoke/) library,
+which can be enabled with the `yoke` feature.