Commit graph

315 commits

Author SHA1 Message Date
FlashOnFire_ 5286618648 fix: limit folder names length to avoid crashes
Some checks failed
Clippy / clippy (push) Has been cancelled
code-coverage / Rust project (push) Has been cancelled
Build and test / lint (push) Has been cancelled
Build and test / Build ${{ matrix.target }}-${{ matrix.rust }} on ${{ matrix.os }} (ubuntu-latest, 1.70.0, riscv64gc-unknown-linux-gnu) (push) Has been cancelled
Build and test / Build ${{ matrix.target }}-${{ matrix.rust }} on ${{ matrix.os }} (ubuntu-latest, 1.70.0, x86_64-unknown-linux-gnu) (push) Has been cancelled
Build and test / Build ${{ matrix.target }}-${{ matrix.rust }} on ${{ matrix.os }} (ubuntu-latest, stable, aarch64-unknown-linux-gnu) (push) Has been cancelled
Build and test / Build ${{ matrix.target }}-${{ matrix.rust }} on ${{ matrix.os }} (ubuntu-latest, stable, riscv64gc-unknown-linux-gnu) (push) Has been cancelled
Build and test / Build ${{ matrix.target }}-${{ matrix.rust }} on ${{ matrix.os }} (ubuntu-latest, stable, x86_64-unknown-linux-gnu) (push) Has been cancelled
Build and test / Tests ${{ matrix.target }} on ${{ matrix.os }} (ubuntu-latest, x86_64-unknown-linux-gnu) (push) Has been cancelled
Build and test / Build ${{ matrix.target }}-${{ matrix.rust }} on ${{ matrix.os }} (ubuntu-latest, 1.70.0, aarch64-unknown-linux-gnu) (push) Has been cancelled
2026-03-12 11:18:03 +01:00
FlashOnFire_ 301aa53830 fix: avoid panic when encountering malformed URLs 2026-03-12 11:18:03 +01:00
dependabot[bot] f513cc541d build(deps): bump mio from 0.8.10 to 0.8.11
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 09:38:09 +01:00
Esteban Blanc 4ca5f0c104 misc: Update Cargo.lock
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
2024-01-24 16:48:59 +01:00
Esteban Blanc e47b71fe36 misc: Update Nix flake
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
2024-01-24 16:48:59 +01:00
dependabot[bot] 9f492a8b8d robo(ci): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 11:09:04 +01:00
dependabot[bot] 7462ab1ff7 build(deps): bump h2 from 0.3.21 to 0.3.24
Bumps [h2](https://github.com/hyperium/h2) from 0.3.21 to 0.3.24.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.21...v0.3.24)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 10:57:03 +01:00
dependabot[bot] 0aa160e036 robo(ci): bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-16 10:24:44 +01:00
dependabot[bot] 4bcf2705a9
build(deps): bump rustix from 0.38.14 to 0.38.21 (#232) 2023-12-06 10:22:12 +00:00
dependabot[bot] 39b751d245 build(deps): bump openssl from 0.10.57 to 0.10.60
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.57 to 0.10.60.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.57...openssl-v0.10.60)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-29 11:22:15 +01:00
marchellodev 0cae95f893 readme: add --cookie option 2023-10-12 12:06:30 +02:00
marchellodev be91ca0261 downloader: add cookie support 2023-10-12 12:06:30 +02:00
Esteban Blanc 2c1f6a86d9 misc: Update MSRV
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
2023-10-11 10:29:22 +02:00
Esteban Blanc c488442982 ci: Fix libssl install for cross-compile
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
2023-10-11 10:29:22 +02:00
dependabot[bot] 103d4a7505 build(deps): bump openssl from 0.10.50 to 0.10.55
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.50 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.50...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-22 10:42:15 +02:00
Esteban Blanc 7f6c4c34a5 tests: Auto cleanup of download folders + multiple servers
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
2023-05-02 10:18:59 +02:00
Esteban Blanc 786503677a ci: Fix coverage
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
2023-05-02 10:18:59 +02:00
Esteban Blanc c080df3c96 tests: Fix server returned content
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
2023-05-02 10:18:59 +02:00
Esteban Blanc 208c747165 misc: Update dependencies and bump MSRV
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
2023-04-13 23:57:07 +02:00
Esteban Blanc 3d5d8d148a ci: Update tarpaulin
Signed-off-by: Esteban Blanc <estblcsk@gmail.com>
2023-04-13 23:57:07 +02:00
dependabot[bot] 05a76ba263 build(deps): bump openssl from 0.10.45 to 0.10.48
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.45 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-26 14:24:56 +02:00
dependabot[bot] bcfbacf388 build(deps): bump tokio from 1.24.1 to 1.25.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.24.1...tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-12 14:14:30 +01:00
Esteban Blanc 906db51f4e mics: update MSRV 2023-01-18 16:35:49 +01:00
Esteban Blanc 28c1e5f3a4 misc: update dependencies 2023-01-18 16:35:49 +01:00
Alejandro Osornio d7aa100c51 Rm match redundancy 2023-01-15 23:14:10 +01:00
Alejandro Osornio 6e9bd7dc4e Re-include fragments 2023-01-15 23:14:10 +01:00
Esteban Blanc 379bfef501 build: add flake.nix for nix users 2023-01-14 16:38:02 +01:00
dependabot[bot] 0c8164c145 build(deps): bump tokio from 1.21.2 to 1.24.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 20:06:13 +01:00
dependabot[bot] 4c2a255e9f robo(ci): bump bruceadams/get-release from 1.2.3 to 1.3.2
Bumps [bruceadams/get-release](https://github.com/bruceadams/get-release) from 1.2.3 to 1.3.2.
- [Release notes](https://github.com/bruceadams/get-release/releases)
- [Commits](https://github.com/bruceadams/get-release/compare/v1.2.3...v1.3.2)

---
updated-dependencies:
- dependency-name: bruceadams/get-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-28 15:14:18 +02:00
Esteban Skallwar Blanc e9d4bb8dba Add CLI argument to disable SSL checks 2022-10-04 15:23:59 +02:00
Like0x 9282b5dee5 Update downloader.rs for Disable SSL checks 2022-10-04 15:23:59 +02:00
Esteban Skallwar Blanc ad4b89d18d misc: Update MSRV 2022-10-03 16:15:42 +02:00
Esteban Skallwar Blanc 62f17a236e misc: Update dependencies 2022-10-03 16:15:42 +02:00
Esteban Blanc 3fca2753b5 misc: Update MSRV 2022-08-01 22:40:05 +02:00
Esteban Blanc 20c4aa1346 misc: Update dependencies 2022-08-01 01:51:43 +02:00
Esteban Blanc 43c383a008 ci: Fix cross compilation for release workflow 2022-05-13 16:59:01 +02:00
Esteban Blanc 1b47539c71 ci: Add riscv64 build 2022-05-13 14:12:39 +02:00
Esteban Blanc 1f5e53f5eb misc: Revert to openssl
We switched some time ago to rustls in order to cross compile more
easilly but it depends on `ring` which in full assembly and does not the
future: RISC-V

This revert to openssl while making sure the CI still cross-compile
correctly to aarch64
2022-05-12 21:56:42 +02:00
Esteban Blanc c151757af6 ci: Build for aarch64 2022-05-11 10:47:57 +02:00
Orhun Parmaksız 3fb66dbffe ci: Build with --locked flag 2022-04-30 21:33:00 +02:00
Orhun Parmaksız 5e58e50a8e chore: Update Cargo.lock 2022-04-30 18:20:00 +02:00
Esteban Blanc 13e9d9f45d ci: Adjust MSRV 2022-04-29 20:51:35 +02:00
Esteban Blanc 18d16bffbd tls: Switch from openssl to rustls 2022-04-29 20:51:35 +02:00
Esteban Blanc 79cecf73d2 ci: Continue on error for release
The build is fails because of op
enssl-sys crate when cross compiling
2022-04-28 16:09:13 +02:00
Esteban Blanc fb124a5afb misc: Prepare for release
Bump crate version
Update README (MSRV and usage)
2022-04-28 13:27:05 +02:00
Esteban Blanc b467ee8a5e ci: Add riscv64 and aarch64 for release 2022-04-25 20:39:44 +02:00
Esteban Blanc c57fa1081c misc: Update dependencies in Cargo.lock 2022-04-25 17:27:08 +02:00
Esteban Blanc b09c9b487d misc: Fix all clippy warnings 2022-04-24 22:20:32 +02:00
dependabot[bot] 0171c62324 robo(ci): bump codecov/codecov-action from 2 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-24 19:27:40 +02:00
raphTec a576ad9a9e Fix symlinks (relative link, argument order, folder creation)
Was completely broken basically:
- No parent directories were created
- The link target was wrong and not a local path
- The symlink function was called with source and target swapped (this is a documentation
  bug in the symlink crate tho)
2022-04-24 19:00:48 +02:00