diff --git a/README.md b/README.md index c2daa6a..db9eb9d 100644 --- a/README.md +++ b/README.md @@ -116,7 +116,7 @@ cargo install soulseek-rs # or from crates.io From source, `cargo build --release` leaves the binary at `target/release/soulseek-rs`. To build your own client on the protocol library, -add `soulseek-rs-lib = "8"` to your `Cargo.toml`. +run `cargo add soulseek-rs-lib`. ## Usage diff --git a/RELEASE.md b/RELEASE.md index 86f9777..b6356d0 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -104,7 +104,6 @@ verify it against the adjacent `.sha256`, and extract the binary. ## Using the library -```toml -[dependencies] -soulseek-rs-lib = "6" +```bash +cargo add soulseek-rs-lib ``` diff --git a/soulseek-rs-lib/README.md b/soulseek-rs-lib/README.md index 33a7756..6b41dc1 100644 --- a/soulseek-rs-lib/README.md +++ b/soulseek-rs-lib/README.md @@ -11,11 +11,10 @@ network. It can be used to build custom Soulseek clients. ## Usage -Add this to your `Cargo.toml`: +Add it to your `Cargo.toml`: -```toml -[dependencies] -soulseek-rs-lib = "8" +```bash +cargo add soulseek-rs-lib ``` ## Example diff --git a/website/src/pages/install.tsx b/website/src/pages/install.tsx index e14f800..f17cf70 100644 --- a/website/src/pages/install.tsx +++ b/website/src/pages/install.tsx @@ -357,14 +357,7 @@ const Steps = () => ( Write your own client on soulseek-rs-lib: the protocol implementation, separate from the TUI.

- +

Full API reference on docs.rs. The lib API