inre / rust-mq

RustMQ is the MQTT client written on pure Rust.
MIT License
190 stars 28 forks source link

Allow #nostd #31

Closed MathiasKoch closed 4 years ago

MathiasKoch commented 5 years ago

Hi. Would it be possible to allow usage of this crate in #nostd devices, possibly behind a feature gate?

I can contribute a first edition PR if you guys think it would be a nice addition to your crate?

MathiasKoch commented 5 years ago

I think the first step would be to decouple the SSL implementation, and allow the users to choose themselves. For nostd i guess most would use mbedTLS, but i also see issues of people requesting support for rust-native-tls, and i also guess rustls would be used by many.