mirror of
https://github.com/kristoferssolo/transmission-rpc.git
synced 2025-10-21 20:10:37 +00:00
Merge branch 'main' into fix-tests-no-auth
This commit is contained in:
commit
bf13ba4981
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
||||
/target
|
||||
Cargo.lock
|
||||
.env
|
||||
/.env
|
||||
.idea/*
|
||||
.vscode/*
|
||||
|
||||
12
Cargo.toml
12
Cargo.toml
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "transmission-rpc"
|
||||
version = "0.3.3"
|
||||
version = "0.3.4"
|
||||
authors = ["red <red.avtovo@gmail.com>"]
|
||||
edition = "2018"
|
||||
repository = "https://github.com/j0rsa/transmission-rpc"
|
||||
@ -15,14 +15,14 @@ include = [
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
reqwest = { version = "0.11.0", features = ["json", "rustls-tls"], default-features = false }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
reqwest = { version = "0.11.2", features = ["json", "rustls-tls"], default-features = false }
|
||||
serde = { version = "1.0.124", features = ["derive"] }
|
||||
rustc-serialize = "0.3.24"
|
||||
enum-iterator = "0.6.0"
|
||||
|
||||
dotenv = "0.15.0"
|
||||
log = "0.4.8"
|
||||
env_logger = "0.8.2"
|
||||
log = "0.4.14"
|
||||
env_logger = "0.8.3"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.2", features = ["macros", "rt-multi-thread"] }
|
||||
tokio = { version = "1.3.0", features = ["macros", "rt-multi-thread"] }
|
||||
|
||||
@ -2,6 +2,10 @@
|
||||
|
||||
Library to communicate with transmission rpc
|
||||
|
||||
**WARNING:**
|
||||
|
||||
It is highly encouraged to use HTTPS since the Transmission authentication is using BasicAuth which could be easily intercepted
|
||||
|
||||
spec: https://github.com/transmission/transmission/blob/master/extras/rpc-spec.txt
|
||||
|
||||
#### Supported Methods
|
||||
@ -28,8 +32,6 @@ spec: https://github.com/transmission/transmission/blob/master/extras/rpc-spec.t
|
||||
- [ ] blocklist-update
|
||||
- [ ] port-test
|
||||
- [ ] session-close
|
||||
- [ ] free-space
|
||||
|
||||
[https://crates.io/crates/transmission-rpc]: https://img.shields.io/badge/crates.io-transmission_rpc%20=%20%220.2.0%22-brightgreen.svg
|
||||
- [ ] free-space
|
||||
|
||||
Support the project: [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H337RKJSC4YG4&source=url)
|
||||
|
||||
4
examples/.env
Normal file
4
examples/.env
Normal file
@ -0,0 +1,4 @@
|
||||
TURL=http://192.168.0.1/transmission/rpc
|
||||
TUSER=transmission-user
|
||||
TPWD=transmission-password
|
||||
RUST_LOG=info
|
||||
Loading…
Reference in New Issue
Block a user