damienpontifex / azure-iot-sdk-rs

A rust library for connecting devices to Microsoft Azure IoT Hub
MIT License
14 stars 11 forks source link

Establish Rustfmt and Clippy Standards for Consistent Code Quality #78

Open IniterWorker opened 2 months ago

IniterWorker commented 2 months ago

Hi,

This PR introduces initial work on establishing rustfmt standards and integrating Clippy validations within the azure-iot-sdk-rs project. Before committing to more extensive contributions, such as supporting x509/OpenSSL (TPM), I believe it's important to ensure we have a consistent coding style and robust code quality checks in place.

Changes:

Rustfmt Configuration: Enforce rustfmt in the projet with default formatting rules to ensure consistent code style across the project. Clippy Integration: Enforce Clippy lints to catch common mistakes and improve overall code quality.

Next Steps:

If this PR is accepted, I plan to proceed with more advanced features, including x509/OpenSSL (TPM) support.

Optional Request

Just ask for it, I will put it in this PR

Please feel free to review and comment on this PR. Your feedback is highly appreciated and will help in refining these initial changes. I'm open to suggestions and ready to make any necessary adjustments to align with the project's standards and vision.