mirror of
https://github.com/kristoferssolo/transmission-rpc.git
synced 2025-10-21 20:10:37 +00:00
Merge pull request #14 from j0rsa/env_examples
[0.3.4] Dependencies bump
This commit is contained in:
commit
5b174a69f4
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
|||||||
/target
|
/target
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
.env
|
/.env
|
||||||
.idea/*
|
.idea/*
|
||||||
.vscode/*
|
.vscode/*
|
||||||
|
|||||||
12
Cargo.toml
12
Cargo.toml
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "transmission-rpc"
|
name = "transmission-rpc"
|
||||||
version = "0.3.3"
|
version = "0.3.4"
|
||||||
authors = ["red <red.avtovo@gmail.com>"]
|
authors = ["red <red.avtovo@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
repository = "https://github.com/j0rsa/transmission-rpc"
|
repository = "https://github.com/j0rsa/transmission-rpc"
|
||||||
@ -15,14 +15,14 @@ include = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reqwest = { version = "0.11.0", features = ["json", "rustls-tls"], default-features = false }
|
reqwest = { version = "0.11.2", features = ["json", "rustls-tls"], default-features = false }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0.124", features = ["derive"] }
|
||||||
rustc-serialize = "0.3.24"
|
rustc-serialize = "0.3.24"
|
||||||
enum-iterator = "0.6.0"
|
enum-iterator = "0.6.0"
|
||||||
|
|
||||||
dotenv = "0.15.0"
|
dotenv = "0.15.0"
|
||||||
log = "0.4.8"
|
log = "0.4.14"
|
||||||
env_logger = "0.8.2"
|
env_logger = "0.8.3"
|
||||||
|
|
||||||
[dev-dependencies]
|
[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
|
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
|
spec: https://github.com/transmission/transmission/blob/master/extras/rpc-spec.txt
|
||||||
|
|
||||||
#### Supported Methods
|
#### Supported Methods
|
||||||
@ -30,6 +34,4 @@ spec: https://github.com/transmission/transmission/blob/master/extras/rpc-spec.t
|
|||||||
- [ ] session-close
|
- [ ] session-close
|
||||||
- [ ] free-space
|
- [ ] 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
|
|
||||||
|
|
||||||
Support the project: [](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H337RKJSC4YG4&source=url)
|
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