diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 768c6c9..5543ddc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: build_and_test: runs-on: ubuntu-22.04 - container: rust:1.70 + container: rust:1.71 steps: - uses: actions/checkout@v3 - run: cargo build @@ -22,7 +22,7 @@ jobs: lint: runs-on: ubuntu-22.04 - container: rust:1.70 + container: rust:1.71 steps: - uses: actions/checkout@v3 - run: rustup component add clippy @@ -30,7 +30,7 @@ jobs: fmt: runs-on: ubuntu-22.04 - container: rust:1.70 + container: rust:1.71 steps: - uses: actions/checkout@v3 - run: rustup component add rustfmt diff --git a/CHANGELOG.md b/CHANGELOG.md index 38dbbc6..a6bc9bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed + + * Bump MSRV to 1.70 + * Update dependencies + ### Added * Add `--version` flag and about text to CLI diff --git a/Cargo.lock b/Cargo.lock index c20fd26..3b0183d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -26,12 +26,54 @@ dependencies = [ "memchr", ] +[[package]] +name = "anstream" +version = "0.6.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-query", + "anstyle-wincon", + "colorchoice", + "utf8parse", +] + [[package]] name = "anstyle" version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2faccea4cc4ab4a667ce676a30e8ec13922a692c99bb8f5b11f1502c72e04220" +[[package]] +name = "anstyle-parse" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +dependencies = [ + "utf8parse", +] + +[[package]] +name = "anstyle-query" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "anstyle-wincon" +version = "3.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +dependencies = [ + "anstyle", + "windows-sys 0.52.0", +] + [[package]] name = "async-trait" version = "0.1.77" @@ -178,6 +220,12 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +[[package]] +name = "colorchoice" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" + [[package]] name = "core-foundation" version = "0.9.4" @@ -203,17 +251,27 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "env_filter" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea" +dependencies = [ + "log", + "regex", +] + [[package]] name = "env_logger" -version = "0.10.2" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" +checksum = "05e7cf40684ae96ade6232ed84582f40ce0a66efcd43a5117aef610534f8e0b8" dependencies = [ + "anstream", + "anstyle", + "env_filter", "humantime", - "is-terminal", "log", - "regex", - "termcolor", ] [[package]] @@ -1298,6 +1356,12 @@ dependencies = [ "percent-encoding", ] +[[package]] +name = "utf8parse" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" + [[package]] name = "vcpkg" version = "0.2.15" diff --git a/Cargo.toml b/Cargo.toml index 0dcdabe..1415f63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "attractorr" version = "0.6.1" authors = ["Raphael Nestler "] edition = "2021" -rust-version = "1.70" +rust-version = "1.71" description = "A CLI tool to scrape the web for magnet links" repository = "https://github.com/rnestler/attractorr/" license = "MIT OR Apache-2.0" @@ -26,7 +26,7 @@ termcolor = "1.3.0" is-terminal = "0.4.10" serde = { version = "1.0.188", features = ["derive"] } serde_json = "1.0.107" -env_logger = "0.10.0" +env_logger = "0.11.1" log = "^0.4" async-trait = "^0.1.77" tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] }