From 273ee4ab0cf8e9ddeae60bfdac7a67161a3bb472 Mon Sep 17 00:00:00 2001 From: red Date: Sun, 14 Mar 2021 11:03:06 +0100 Subject: [PATCH] added env example --- .gitignore | 2 +- Cargo.toml | 2 +- README.md | 4 +--- examples/.env | 4 ++++ 4 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 examples/.env diff --git a/.gitignore b/.gitignore index 7f71c90..476c8dd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ /target Cargo.lock -.env +/.env .idea/* .vscode/* diff --git a/Cargo.toml b/Cargo.toml index 5e77f32..6ea3850 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "transmission-rpc" -version = "0.3.3" +version = "0.3.4" authors = ["red "] edition = "2018" repository = "https://github.com/j0rsa/transmission-rpc" diff --git a/README.md b/README.md index f1fafb7..613d479 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,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: [![Donate button](https://www.paypalobjects.com/en_US/DK/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=H337RKJSC4YG4&source=url) diff --git a/examples/.env b/examples/.env new file mode 100644 index 0000000..b7873c1 --- /dev/null +++ b/examples/.env @@ -0,0 +1,4 @@ +TURL=http://192.168.0.1/transmission/rpc +TUSER=transmission-user +TPWD=transmission-password +RUST_LOG=info \ No newline at end of file