From 72f2e31a2c85ac12f21c7b7d64184679bf8d0dca Mon Sep 17 00:00:00 2001 From: Michel de Graaf Date: Sun, 26 Jul 2026 11:51:48 +0200 Subject: [PATCH] docs: point the library snippets at the 8.x lib v8.0.0 is on crates.io, so the Cargo.toml examples in the readme and on the install page were a major behind. Replace the 5.x upgrade note with one that does not name a version, so it stops going stale every release. --- README.md | 2 +- website/src/pages/install.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 17e973f..03648b5 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ To build your own Soulseek client, add to your `Cargo.toml`: ```toml [dependencies] -soulseek-rs-lib = "7" +soulseek-rs-lib = "8" ``` ## Usage diff --git a/website/src/pages/install.tsx b/website/src/pages/install.tsx index 3623195..ba0c4b2 100644 --- a/website/src/pages/install.tsx +++ b/website/src/pages/install.tsx @@ -341,9 +341,9 @@ export const Install = () => { label="Cargo.toml" lines={[ { t: 'cm', text: '[dependencies]' }, - { t: 'code', text: 'soulseek-rs-lib = "7"' }, + { t: 'code', text: 'soulseek-rs-lib = "8"' }, ]} - copy={'[dependencies]\nsoulseek-rs-lib = "7"'} + copy={'[dependencies]\nsoulseek-rs-lib = "8"'} />

@@ -356,7 +356,7 @@ export const Install = () => { > docs.rs - . Note: v6 moved sharing from one directory to a list. See the{' '} + . The lib API changes between majors, so check the{' '} { > changelog {' '} - if you’re upgrading from 5.x. + when you upgrade.