diff options
-rw-r--r-- | mqtt-format/Cargo.toml | 3 | ||||
-rw-r--r-- | mqtt-format/README.md | 3 |
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. |