summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-01-04Update Changelogs for 0.2.0v0.2.0release/0.2.xMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Merge #100bors[bot]
100: Add mqtt tester to flake r=TheNeikos a=TheNeikos Co-authored-by: Marcel Müller <neikos@neikos.email> Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-04Also build deps for all crates and all targetsMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Update flake input: craneMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Fix formatting of flakeMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Add building all to the base cloudmqtt derivationMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Remove all-targets from clippy checkMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Allow unused enum variantsMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Use a type alias for BoxFnMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Elide lifetimeMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Actually create vec with the given sizeMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Remove unused importsMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-04Include all workspace members in clippy checkMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-03Merge #91bors[bot]
91: Update flake.lock r=TheNeikos a=github-actions[bot] Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action. ``` Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/79e63f30ed2ff36cd0d9c2f7dadae5925c1a65db' (2022-12-23) → 'github:NixOS/nixpkgs/0c5a734cdeadc39d253018ad0f83fb77eac7ab08' (2022-12-30) ``` ### Running GitHub Actions on this PR GitHub Actions will not run workflows on pull requests which are opened by a GitHub Action. To run GitHub Actions workflows on this PR, run: ```sh git branch -D update_flake_lock_action git fetch origin git checkout update_flake_lock_action git commit --amend --no-edit git push origin update_flake_lock_action --force ``` Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-03Merge #98 #99bors[bot]
98: Add cloudmqtt-{client,server} in flake r=TheNeikos a=matthiasbeyer Closes #52 99: Ignore nix result symlinks r=TheNeikos a=matthiasbeyer Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-03Ignore nix resultsMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-03Add cloudmqtt-{client,server} in flakeMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Merge #94bors[bot]
94: No handwritten bytes r=TheNeikos a=matthiasbeyer Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Simplify: Use byte string instead of sliceMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Replace hand-written bytes with paket declarationMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Add utility to write packet to byte vecMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Use MPacketKind instead of hand-writing bytesMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Make ClientCommand take VecMatthias Beyer
This is for removing the static lifetime, which makes using the interface easier. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Add MPacketKind::to_byte()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Merge #97bors[bot]
97: Fix test client r=TheNeikos a=matthiasbeyer Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Build cloudmqtt crate with all featuresMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Ignore unused variableMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Fix typoMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Fix imports, remove unused onesMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2023-01-02Merge #95bors[bot]
95: Feature/enhance server r=TheNeikos a=TheNeikos This PR adds several new features to the server, notably QoS 1 & 2 handling, as well as the ability to resend messages after disconnect. Co-authored-by: Marcel Müller <neikos@neikos.email>
2023-01-02Add QoS 2 handling for receiving messagesMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Add accepting of puback/rel/comp messagesMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Add serializing of Pubrel messagesMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Note that some packets are not handled yetMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Use a manual Debug impl for ClientInformationMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Use lower of the sub and message QoS for messagesMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Add responding to pings from clientsMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Implement serializing PingrespMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Spawn new task for accepting clientsMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Limit scope of client_state borrowMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Use the client state to send messsagesMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Move ClientState dashmap behind ArcMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Remove unneeded tracesMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Do not block the accept loop by joining directly in itMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Update rust to 1.66Marcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Reject empty sessions with a clean session bitMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Make all pubs to pub(crate)Marcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Add error handling on send/read futures of clientsMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Document public parts of the serverMarcel Müller
Signed-off-by: Marcel Müller <neikos@neikos.email>
2023-01-02Merge #14bors[bot]
14: WIP: Add mqtt-testing library r=TheNeikos a=TheNeikos This testing executable/framework servers a dual purpose: - Test the cloudmqtt client independently of its implementation - Share the testing framework with a wider audience Signed-off-by: Marcel Müller <neikos@neikos.email> Co-authored-by: Marcel Müller <neikos@neikos.email> Co-authored-by: Matthias Beyer <mail@beyermatthias.de>