Azure-Samples / MqttApplicationSamples

Samples implementing common PubSub patterns for Edge and Cloud Brokers
MIT License
25 stars 25 forks source link

rust getting started #93

Closed olivakar closed 7 months ago

olivakar commented 7 months ago

First rust sample for basic getting started scenario

olivakar commented 7 months ago

Adding cargo.toml at the root does not work with the existing cargo commands. So for now I am not doing that. Any cargo file needs to be tied to the rest of the cargo files.

rido-min commented 7 months ago

Adding cargo.toml at the root does not work with the existing cargo commands. So for now I am not doing that. Any cargo file needs to be tied to the rest of the cargo files.

sure, and the cargo.tom at the root should reference all the other cargo.toml

Can you try to find a sample on how to do it correctly?

-- Added a workspace cargo

rido-min commented 7 months ago

@andyk-ms I saw you approved the PR without my suggestions to refactor the TLS code into the mqttclients lib.

Do you want to get this merged now and do the refactor later?

I'd prefer to complete this PR with the proper helper methods to avoid the code duplication we have in Python.