62: Prio fixes r=jowax a=jowax



Co-authored-by: Joel Wachsler <jowax@users.noreply.github.com>
This commit is contained in:
bors[bot] 2022-08-13 18:21:39 +00:00 committed by GitHub
commit 1efa901d61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 48 additions and 32 deletions

View File

@ -26,7 +26,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-test-${{ hashFiles('Cargo.lock') }}
key: ${{ runner.os }}-cargo-test-${{ hashFiles('Cargo.toml') }}
- name: Install latest stable
uses: actions-rs/toolchain@v1
@ -75,7 +75,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('Cargo.lock') }}
key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('Cargo.toml') }}
- name: Install latest stable
uses: actions-rs/toolchain@v1

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
target
.env
/Cargo.lock

16
Cargo.lock generated
View File

@ -22,9 +22,9 @@ dependencies = [
[[package]]
name = "anyhow"
version = "1.0.60"
version = "1.0.61"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c794e162a5eff65c72ef524dfe393eb923c354e350bb78b9c7383df13f3bc142"
checksum = "508b352bb5c066aac251f6daf6b36eccd03e8a88e8081cd44959ea277a3af9a8"
[[package]]
name = "autocfg"
@ -370,9 +370,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
version = "0.2.127"
version = "0.2.131"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b"
checksum = "04c3b4822ccebfa39c02fc03d1534441b22ead323fa0f48bb7ddd8e6ba076a40"
[[package]]
name = "lock_api"
@ -751,18 +751,18 @@ dependencies = [
[[package]]
name = "serde"
version = "1.0.142"
version = "1.0.143"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e590c437916fb6b221e1d00df6e3294f3fccd70ca7e92541c475d6ed6ef5fee2"
checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.142"
version = "1.0.143"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34b5b8d809babe02f538c2cfec6f2c1ed10804c0e5a6a041a049a4f5588ccc2e"
checksum = "d3d8e8de557aee63c26b85b947f5e59b690d0454c753f3adeb5cd7835ab88391"
dependencies = [
"proc-macro2",
"quote",

View File

@ -8,13 +8,13 @@ repository = "https://github.com/jowax/qbittorrent-web-api"
description = "Generated web api for qBittorrent"
[dependencies]
reqwest = { version = "0.11.11", features = ["json", "multipart"] }
tokio = { version = "1.19.2", features = ["full"] }
reqwest = { version = "0.11", features = ["json", "multipart"] }
tokio = { version = "1.19", features = ["full"] }
qbittorrent-web-api-gen = { path = "./qbittorrent-web-api-gen", version = "0.6.3" }
serde = { version = "1.0.138", features = ["derive"] }
serde_json = "1.0.82"
serde_repr = "0.1.9"
thiserror = "1.0.31"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_repr = "0.1"
thiserror = "1.0"
[workspace]
members = ["qbittorrent-web-api-gen"]

View File

@ -25,19 +25,19 @@ name = "tests"
path = "tests/tests.rs"
[dependencies]
syn = { version = "1.0.98", features = ["extra-traits"] }
quote = "1.0.20"
proc-macro2 = "1.0.40"
case = "1.0.0"
syn = { version = "1.0", features = ["extra-traits"] }
quote = "1.0"
proc-macro2 = "1.0"
case = "1.0"
thiserror = "1.0.31"
serde = { version = "1.0.138", features = ["derive"] }
serde_json = "1.0.82"
serde_repr = "0.1.9"
regex = "1.6.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_repr = "0.1"
regex = "1.6"
[dev-dependencies]
trybuild = { version = "1.0.63", features = ["diff"] }
anyhow = "1.0.58"
tokio = { version = "1.19.2", features = ["full"] }
reqwest = { version = "0.11.11", features = ["json", "multipart"] }
pretty_assertions = "1.2.1"
trybuild = { version = "1.0", features = ["diff"] }
anyhow = "1.0"
tokio = { version = "1.19", features = ["full"] }
reqwest = { version = "0.11", features = ["json", "multipart"] }
pretty_assertions = "1.2"

View File

@ -1667,7 +1667,8 @@ Possible values of `priority`:
Value | Description
-----------|------------
`0` | Do not download
`4` | Normal priority
`1` | Normal priority
`4` | Default Normal priority
`6` | High priority
`7` | Maximal priority

View File

@ -4431,6 +4431,13 @@
"Normal priority",
),
value: "NormalPriority",
original_value: "1",
},
EnumValue {
description: Some(
"Default Normal priority",
),
value: "DefaultNormalPriority",
original_value: "4",
},
EnumValue {

View File

@ -8007,10 +8007,17 @@ TokenTree {
],
},
TableRow {
raw: "`4` | Normal priority",
raw: "`1` | Normal priority",
columns: [
"1",
"Normal priority",
],
},
TableRow {
raw: "`4` | Default Normal priority",
columns: [
"4",
"Normal priority",
"Default Normal priority",
],
},
TableRow {