mirror of
https://github.com/kristoferssolo/transmission-rpc.git
synced 2025-10-21 20:10:37 +00:00
bump version
This commit is contained in:
parent
a30f65f951
commit
06b0904681
18
Cargo.toml
18
Cargo.toml
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "transmission-rpc"
|
name = "transmission-rpc"
|
||||||
version = "0.4.1"
|
version = "0.4.2"
|
||||||
authors = ["red <red.avtovo@gmail.com>", "George Miao <gm@miao.dev>"]
|
authors = ["red <red.avtovo@gmail.com>"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
repository = "https://github.com/j0rsa/transmission-rpc"
|
repository = "https://github.com/j0rsa/transmission-rpc"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@ -15,17 +15,17 @@ include = ["**/*.rs", "Cargo.toml"]
|
|||||||
sync = []
|
sync = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reqwest = { version = "0.11.11", features = [
|
reqwest = { version = "0.11.22", features = [
|
||||||
"json",
|
"json",
|
||||||
"rustls-tls",
|
"rustls-tls",
|
||||||
], default-features = false }
|
], default-features = false }
|
||||||
serde = { version = "1.0.144", features = ["derive"] }
|
serde = { version = "1.0.190", features = ["derive"] }
|
||||||
serde_repr = "0.1"
|
serde_repr = "0.1.17"
|
||||||
enum-iterator = "1.2.0"
|
enum-iterator = "1.4.1"
|
||||||
|
|
||||||
log = "0.4.17"
|
log = "0.4.20"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
env_logger = "0.10.0"
|
env_logger = "0.10.0"
|
||||||
dotenvy = "0.15.5"
|
dotenvy = "0.15.7"
|
||||||
tokio = { version = "1.21.1", features = ["macros", "rt-multi-thread"] }
|
tokio = { version = "1.33.0", features = ["macros", "rt-multi-thread"] }
|
||||||
|
|||||||
@ -29,7 +29,7 @@ https://github.com/transmission/transmission/blob/main/docs/rpc-spec.md
|
|||||||
- [X] torrent-remove
|
- [X] torrent-remove
|
||||||
- [X] torrent-set-location
|
- [X] torrent-set-location
|
||||||
- [X] torrent-rename-path
|
- [X] torrent-rename-path
|
||||||
- [ ] session-set
|
- [X] session-set
|
||||||
- [X] session-get
|
- [X] session-get
|
||||||
- [X] session-stats
|
- [X] session-stats
|
||||||
- [X] blocklist-update
|
- [X] blocklist-update
|
||||||
|
|||||||
@ -137,7 +137,7 @@ pub struct Torrent {
|
|||||||
pub priorities: Option<Vec<i8>>,
|
pub priorities: Option<Vec<i8>>,
|
||||||
pub file_stats: Option<Vec<FileStat>>,
|
pub file_stats: Option<Vec<FileStat>>,
|
||||||
#[serde(rename = "file-count")]
|
#[serde(rename = "file-count")]
|
||||||
pub file_count: Option<usize>
|
pub file_count: Option<usize>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Torrent {
|
impl Torrent {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user