Skip to content

Commit

Permalink
add max_stable_version
Browse files Browse the repository at this point in the history
  • Loading branch information
beckend authored and theduke committed Sep 5, 2022
1 parent 3a83744 commit 4abe48c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/async_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ impl Client {
repository: data.repository,
total_downloads: data.downloads,
max_version: data.max_version,
max_stable_version: data.max_stable_version,
created_at: data.created_at,
updated_at: data.updated_at,
categories: krate.categories,
Expand Down
1 change: 1 addition & 0 deletions src/sync_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ impl SyncClient {
repository: data.repository,
total_downloads: data.downloads,
max_version: data.max_version,
max_stable_version: data.max_stable_version,
created_at: data.created_at,
updated_at: data.updated_at,

Expand Down
2 changes: 2 additions & 0 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ pub struct Crate {
pub keywords: Option<Vec<String>>,
pub versions: Option<Vec<u64>>,
pub max_version: String,
pub max_stable_version: String,
pub links: CrateLinks,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
Expand Down Expand Up @@ -568,6 +569,7 @@ pub struct FullCrate {
pub repository: Option<String>,
pub total_downloads: u64,
pub max_version: String,
pub max_stable_version: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,

Expand Down

0 comments on commit 4abe48c

Please sign in to comment.