Closed marcelbuesing closed 4 years ago
Thanks for your kind words, I'm happy that you've found this crate useful.
This is a nice change: disabling tls saves 22s (37%) off the initial compile on my machine.
Can you add a line to the lib.rs doc comment (https://github.com/fluffysquirrels/mqtt-async-client-rs/blob/9a0e03c3688a24b3d793368bd76c6aca46610cd5/src/lib.rs#L1-L9) explaining the feature that you've added? I.e. that tls
is a feature, enabled by default, which supports connections over TLS with rustls? Thanks!
Thanks for your kind words, I'm happy that you've found this crate useful.
This is a nice change: disabling tls saves 22s (37%) off the initial compile on my machine.
Can you add a line to the lib.rs doc comment (
https://github.com/fluffysquirrels/mqtt-async-client-rs/blob/9a0e03c3688a24b3d793368bd76c6aca46610cd5/src/lib.rs#L1-L9 ) explaining the feature that you've added? I.e. that
tls
is a feature, enabled by default, which supports connections over TLS with rustls? Thanks!
Just added it. It also makes cross compiling significantly easier if TLS is not required. Otherwise ring apparently needs some specific setup. E.g. you can reproduce this via:
cargo build --target armv7-unknown-linux-musleabihf --release --example mqttc
failed to run custom build command for `ring v0.16.15`
This is great, thanks!
Hi, just wanted to let you it has been a great experience to use this crate, by far the best mqtt client rust crate i have used so far.
I noticed that some dependencies can be made optional by moving them to dev dependencies. Had to move the bin to the example folder for this. Furthermore I added a tls feature but made it part of the default features. So people can opt out if they want to.
Before:
After (without tls feature):