summaryrefslogtreecommitdiffstats
path: root/crates/common/download
AgeCommit message (Collapse)Author
2022-08-19Merge pull request #1348 from thin-edge/create-pull-request/patchAlbin Suresh
Patch version bump
2022-08-18Merge pull request #1349 from matthiasbeyer/clippy-fixesDidier Wenzek
Clippy fixes
2022-08-18Fix clippy: download: Add derive for EqMatthias Beyer
This fixes clippy::derive_partial_eq_without_eq Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-08-18Fix clippy in download: Remove let-unit-valueMatthias Beyer
This patch fixes `clippy::let_unit_value`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-08-18(cargo release) bump versionVersioneer
2022-07-25Merge pull request #1292 from thin-edge/dependabot/cargo/nix-0.24.2Didier Wenzek
Bump nix from 0.23.1 to 0.24.2
2022-07-25Bump nix from 0.23.1 to 0.24.2dependabot[bot]
Bumps [nix](https://github.com/nix-rust/nix) from 0.23.1 to 0.24.2. - [Release notes](https://github.com/nix-rust/nix/releases) - [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md) - [Commits](https://github.com/nix-rust/nix/compare/v0.23.1...v0.24.2) --- updated-dependencies: - dependency-name: nix dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-07-22Bump test-case from 2.1.0 to 2.2.1dependabot[bot]
Bumps [test-case](https://github.com/frondeus/test-case) from 2.1.0 to 2.2.1. - [Release notes](https://github.com/frondeus/test-case/releases) - [Changelog](https://github.com/frondeus/test-case/blob/master/CHANGELOG.md) - [Commits](https://github.com/frondeus/test-case/compare/v2.1.0...v2.2.1) --- updated-dependencies: - dependency-name: test-case dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21Fix: Do not construct error variant directlyMatthias Beyer
The API of the backoff crate changed when constructing an `Error::Transient` object from using the enum variant directly to a constructor method. This patch fixes this by making use of the constructor method. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-07-21Bump backoff from 0.3.0 to 0.4.0dependabot[bot]
Bumps [backoff](https://github.com/ihrwein/backoff) from 0.3.0 to 0.4.0. - [Release notes](https://github.com/ihrwein/backoff/releases) - [Commits](https://github.com/ihrwein/backoff/compare/v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: backoff dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20(cargo release) bump versionVersioneer
2022-07-14download: Remove unused dependency "tedge_utils"Matthias Beyer
This patch removes the "tedge_utils" dependency, which is not used in the crate. Because "tedge_utils" pulled in "tokio" with the "fs" feature enabled, which is not enabled by default, we also need to enable "fs" on tokio now, which is also done in this patch. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-07-14download: Remove unused dependency "tempfile"Matthias Beyer
This dependency was only used in tests and is specified in dev-dependencies, so we can remove it here. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-06-22Patch version bump 0.7.2 (#1214)github-actions[bot]
* (cargo release) bump version Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-06-08Patch version bump 0.7.1 (#1185)github-actions[bot]
* (cargo release) bump version Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-05-23(cargo release) bump version 0.7.0 (#1154)Rina Fujino
2022-05-11Patch version bump 0.6.4 (#1136)github-actions[bot]
* (cargo release) bump version 0.6.4 Co-authored-by: Versioneer <info@thin-edge.io>
2022-05-09Revert the pull request #1116Rina Fujino
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-04-28removed unused dependencies #1110initard
Signed-off-by: initard <solo@softwareag.com>
2022-04-27Patch version bump 0.6.3 (#1108)github-actions[bot]
* (cargo release) bump version 0.6.3 Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-04-13Patch version bump 0.6.2 (#1079)github-actions[bot]
* (cargo release) bump version 0.6.2 Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-03-30Patch version bump 0.6.1 (#1041)github-actions[bot]
* (cargo release) bump version 0.6.1 Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-03-14(cargo release) bump version 0.6.0 (#996)Rina Fujino
2022-03-11Upgrade dependencies to eliminate vulnerable regex crate v1.5.4Albin Suresh
2022-03-09test-case version updateinitard
- test-case crate version 1.2.3 was breaking cargo test - updated test-case crate to 2.0 Signed-off-by: initard <solo@softwareag.com>
2022-03-02Patch version bump 0.5.4 (#963)github-actions[bot]
* (cargo release) bump version 0.5.4 Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-02-28Fix: Use unwrap_or() instead of matchMatthias Beyer
This patch fixes the clippy lint `clippy::manual_unwrap_or`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-16Patch version bump (#884)github-actions[bot]
* (cargo release) bump version 0.5.3
2022-02-14Merge pull request #854 from matthiasbeyer/clippy-fixes-downloadMatthias Beyer
Clippy fixes for: download
2022-02-09Fix: Do not truncate integer type by castingMatthias Beyer
This patch fixes an issue if compiled on 32 bit platforms, where usize is 4 bytes which would truncate the result from reqwest::Response::content_length() and thus result in possibly weird errors. The fix was to cast to u64 instead of usize. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com> Suggested-by: Marcel Müller <m.mueller@ifm.com>
2022-02-07Remove unused field download_targetMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-04[#735] Detect and reconcile alarms updated while mapper was down (#791)Albin Suresh
* [#735] Detect and reconcile cleared alarms while mapper was down on its restart * Rust integration test for C8Y mapper * Rust integration test for alarm syncing on startup * New publish apis in mqtt_test crate that supports retain flag and QoS * Refactor alarm conversion logic to dedicated AlarmConverter enum
2022-02-03Bump Rust version to 1.58.1 (#803)Michael Abel
* Bump Rust version to 1.58.1 * Avoid to run the cargo msrv check ... ... in favour of the hardcoded rust-version in our Cargo.toml files * Update rust version string from rustc --version
2022-01-20Migrate to edition 2021 (#558)Lukasz Woznicki
* Migrate to edition 2021 * Update docs and workflows * Update to latest rust 1.58 * Force version in clippy Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
2022-01-19Patch version bump (#771)github-actions[bot]
* (cargo release) bump version 0.5.2
2022-01-11[663] agent topics (#731)PradeepKiruvale
* move topics to json_sm crate * rename json_sm to sm_interface * format * rename agent interface * fix order of crates * rename crate * rename topics enum * refactor downloader code * move topicerror to error.rs * trigger wf * cargo fmt * address review comments * separate c8y topics * add tests * cargo fmt * change match cases * use download from common crate * update test names * fix the match issue * fix the topic matching * address review comments * remove mqtt dependancy * simplify try_from Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
2022-01-05Patch version bump to 0.5.1 (#734)github-actions[bot]
* (cargo release) bump version to 0.5.1 Co-authored-by: Versioneer <info@thin-edge.io>
2021-12-10Bump version to 0.5.0. Update some docs to use 0.5.0 as well (#677)Lukasz Woznicki
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com> Co-authored-by: Sebastian Büttner <sebastian.buettner@softwareag.com>
2021-11-25fix the armv7-32bit musl build issue (#630)PradeepKiruvale
Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
2021-11-24Restructure directories of the workspace (#559)Lukasz Woznicki
* Restructure directories of the workspace * Rename c8y_translator_lib to c8y_translator * Update comment on how to get dummy plugin path Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>