Conversation
Prepare the 3.2.1 version. Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
Prepare the 4.0.0 version. Fix the websocket authentication. Put a message size of 10000 (for the cpm's) by default). Add a max_packet_size property. Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
Signed-off-by: Frédéric Gardes <frederic.gardes@orange.com>
22ce3cf to
20d62f3
Compare
| } | ||
|
|
||
| let mut mqtt_options = self.mqtt_options.clone(); | ||
| mqtt_options.set_client_id(format!("{}-{}", mqtt_options.client_id(), suffix)); |
There was a problem hiding this comment.
Cool news that we can now edit the client id without having to create a complete new struct !
You can then remove this method and directly update the client id in identity.rs:63
| package = "rumqttc-v5-next" | ||
| version = "0.34.0" | ||
| default-features = false | ||
| features = ["websocket", "use-rustls-ring"] |
There was a problem hiding this comment.
Why use-rustls-ring and not simply use-rustls ?
From what I found ring is based on BoringSSL which is not meant to be used by default.
This project was originally shared on GitHub in 2015 as an experiment. It was put on crates.io shortly to help other people with their experiments. It is an experiment.
| Build it with: cargo run --example display_log_reader --features mobility\n\ | ||
| (declared as required-features in Cargo.toml)" | ||
| ); | ||
|
|
There was a problem hiding this comment.
With required-features declaration in Cargo.toml you already have an error at compile time if you don't set the feature in the build command
cargo build --example display_log_reader
error: target `display_log_reader` in package `libits-client` requires the features: `mobility`
Consider enabling them by passing, e.g., `--features="mobility"`
(Same for all examples)
Prepare the 3.2.1 version.
Changes
Test
How to test
Fix #599
Fix #600