summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml5
-rw-r--r--README.md2
2 files changed, 4 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 53eda0c..03cd96d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,9 +1,12 @@
[package]
name = "multisock"
-version = "0.1.0"
+version = "0.1.1"
authors = ["Yorhel <git@yorhel.nl>"]
+documentation = "https://docs.rs/multisock"
description = "Unified types for TCP & Unix sockets"
repository = "https://code.blicky.net/yorhel/multisock"
+categories = ["network-programming"]
+keywords = ["tcp", "unix", "socket"]
readme = "README.md"
license = "MIT"
edition = "2018"
diff --git a/README.md b/README.md
index 3cd6f6c..aba0480 100644
--- a/README.md
+++ b/README.md
@@ -32,11 +32,9 @@ fn mpd_pause(addr: &SocketAddr) -> Result<()> {
Ok(())
}
-# fn main() -> Result<()> {
// If MPD is listening on a UNIX socket, we can do this:
mpd_pause(&"unix:/var/lib/mpd/socket".parse().unwrap())?;
// Or if it's running on another system in the network:
mpd_pause(&"10.3.3.7:6600".parse().unwrap())
-# }
```