From f499d730e80321c1f050119e36d9ffc9a071176a Mon Sep 17 00:00:00 2001
From: Jonas Frei <freijon@pm.me>
Date: Sun, 10 Jul 2022 15:34:14 +0200
Subject: [PATCH] Bump to 1.2.0, using newest dependencies

---
 Cargo.toml | 10 +++++-----
 README.md  | 12 ++++++------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 8c34353..5b57241 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "mpvipc"
-version = "1.1.9"
+version = "1.2.0"
 authors = ["Jonas Frei <freijon@pm.me>"]
 description = "A small library which provides bindings to control existing mpv instances through sockets."
 license = "GPL-3.0"
@@ -10,9 +10,9 @@ documentation = "https://docs.rs/mpvipc/"
 edition = "2018"
 
 [dependencies]
-serde = "1.0.1"
-serde_json = "1.0.0"
-log = "0.4.6"
+serde = "1.0.138"
+serde_json = "1.0.82"
+log = "0.4.17"
 
 [dev-dependencies]
-env_logger = "0.6.1"
+env_logger = "0.9.0"
diff --git a/README.md b/README.md
index f55160f..2a5d19f 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ A small library which provides bindings to control existing mpv instances throug
 
 To make use of this library, please make sure mpv is started with the following option:
 `
-$ mpv --input-ipc-server=/tmp/mpvsocket --idle ...
+$ mpv --input-ipc-server=/tmp/mpv.sock --idle ...
 `
 
 ## Dependencies
@@ -22,19 +22,19 @@ You can use this package with cargo.
 
 Make sure mpv is started with the following option:
 `
-$ mpv --input-ipc-server=/tmp/mpvsocket --idle
+$ mpv --input-ipc-server=/tmp/mpv.sock --idle
 `
 
-Here is a small code example which connects to the socket /tmp/mpvsocket and toggles playback.
+Here is a small code example which connects to the socket /tmp/mpv.sock and toggles playback.
 
-```
+```rust
 extern crate mpvipc;
 
 use mpvipc::*;
 use std::sync::mpsc::channel;
 
 fn main() {
-    let mpv = Mpv::connect("/tmp/mpvsocket").unwrap();
+    let mpv = Mpv::connect("/tmp/mpv.sock").unwrap();
     let paused: bool = mpv.get_property("pause").unwrap();
     mpv.set_property("pause", !paused).expect("Error pausing");
 }
@@ -44,4 +44,4 @@ For a more extensive example and proof of concept, see project [mpvc](https://gi
 
 ## Bugs / Ideas
 
-Check out the [Issue Tracker](https://gitlab.com/mpv-ipc/mpvipc/issues)
\ No newline at end of file
+Check out the [Issue Tracker](https://gitlab.com/mpv-ipc/mpvipc/issues)