Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR tries to enhance the overall maintainability of
rumqtt
.Note that this PR is not ready to be merged because the code style (
clippy
) must be applied to the code.What has been changed:
Stale
(bot) is a GitHub actionVSCode
compatibility.rs
hasfmt/clippy
,.sh
hasprettier/shellcheck
, etc...)EditorConfig
markdownlint
Prettier
file formattercspell
. A lot of typos have been found and fixedrumqttd
Docker image is now based ongcr.io/distroless/cc
(from Google) to enhance overall security since "it does not contain package managers, shells or any other programs you would expect to find in a standard Linux distribution"Docker buildx
. The new Docker image isarm64
(aarch64) andamd64
(x86_64)scripts
directory). AlsoPOSIX
compliantrumqttverifier
sources are now based on Typescript for better maintainability and more. Simply runnpx ts-node path/to/script.ts
instead of oldnode path/to/script.js
aarch64-unknown-linux-gnu
->rumqttd-1.0.0-aarch64-unknown-linux-gnu
aarch64-unknown-linux-musl
->rumqttd-1.0.0-aarch64-unknown-linux-musl
x86_64-unknown-linux-gnu
->rumqttd-1.0.0-x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
->rumqttd-1.0.0-x86_64-unknown-linux-musl
I need to test
Cross
a little bit more but it seems to work without any problem. We could add Windows!Rust
version. I've set it to1.64.0
due toCross
requirement but it can be changed to better suit your needsRust
edition is set to2021
Please, let me know what you think and what you want to change/update/add/delete 🥳
PS: Thanks for developing
rumqtt*