Skip to content

Commit 9acb3cd

Browse files
committed
Removed a documentation problem that annoyed me
1 parent 29ece31 commit 9acb3cd

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 0.12.1 - 2025-11-23
4+
* Remove the "use `all_crates` method" suggestion from documentation.
5+
36
## 0.12.0 - 2025-08-20
47

58
* feat: add checksum to version types

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ keywords = [ "crates", "api" ]
1010
categories = [ "web-programming", "web-programming::http-client" ]
1111
edition = "2018"
1212

13-
version = "0.12.0"
13+
version = "0.12.1"
1414

1515
[dependencies]
1616
chrono = { version = "0.4.6", default-features = false, features = ["serde"] }

src/async_client.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,6 @@ impl Client {
371371

372372
/// Retrieve a page of crates, optionally constrained by a query.
373373
///
374-
/// If you want to get all results without worrying about paging,
375-
/// use [`all_crates`].
376374
pub async fn crates(&self, query: CratesQuery) -> Result<CratesPage, Error> {
377375
let mut url = self.base_url.join("crates").unwrap();
378376
query.build(url.query_pairs_mut());

src/sync_client.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,6 @@ impl SyncClient {
268268

269269
/// Retrieve a page of crates, optionally constrained by a query.
270270
///
271-
/// If you want to get all results without worrying about paging,
272-
/// use [`all_crates`].
273-
///
274271
/// # Examples
275272
///
276273
/// Retrieve the first page of results for the query "api", with 100 items

0 commit comments

Comments
 (0)