diff options
-rw-r--r-- | Cargo.toml | 5 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -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" @@ -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()) -# } ``` |