feat: 0.1.90 rust - generate#461
Open
vladimirvolek wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
michalrus
reviewed
Jul 21, 2026
| pub use self::drep_delegators_inner::DrepDelegatorsInner; | ||
| pub mod drep_metadata; | ||
| pub use self::drep_metadata::DrepMetadata; | ||
| pub mod drep_metadata_error; |
Member
There was a problem hiding this comment.
You remove mod drep_metadata_error from the compilation's module tree, but it's still on disk:
Perhaps we need to add a dead code check?
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the generated Rust client/models to Blockfrost API/package version 0.1.90, adding new model types and aligning metadata error types used across multiple responses.
Changes:
- Bump Rust crate + docs versions from 0.1.88 → 0.1.90.
- Add new models for script UTXOs and expanded DRep fields/metadata types.
- Replace usages of
DrepMetadataErrorwith the newDrepsInnerMetadataErrorin multiple metadata-bearing models.
Reviewed changes
Copilot reviewed 13 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| rust/src/models/script_utxos_inner.rs | New model for script UTXO entries. |
| rust/src/models/proposal_metadata_v2.rs | Switch error type to DrepsInnerMetadataError. |
| rust/src/models/pool_metadata.rs | Switch error type to DrepsInnerMetadataError. |
| rust/src/models/pool_list_extended_inner_metadata.rs | Switch error type to DrepsInnerMetadataError. |
| rust/src/models/mod.rs | Export new DRep metadata modules and script UTXO model; stop exporting old DrepMetadataError. |
| rust/src/models/dreps_inner.rs | Add new DRep fields and optional metadata. |
| rust/src/models/dreps_inner_metadata.rs | New model for DRep off-chain metadata + error field. |
| rust/src/models/dreps_inner_metadata_error.rs | New error model/enum for metadata failures. |
| rust/src/models/drep.rs | Docstring grammar tweaks only. |
| rust/src/models/drep_metadata.rs | Switch error type to DrepsInnerMetadataError. |
| rust/src/models/_pools__pool_id__metadata_get_200_response.rs | Switch error type to DrepsInnerMetadataError. |
| rust/README.md | Update versions and model list to include new types. |
| rust/Cargo.toml | Bump crate version to 0.1.90. |
| rust/Cargo.lock | Bump locked crate version to 0.1.90. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+1
to
+2
| use crate::models; | ||
| use serde::{Deserialize, Serialize}; |
Member
There was a problem hiding this comment.
Seems valid, why is it not a compilation error?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.