-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: refactor
ibc-derive
to handle context with generic types and p…
…rojects dependent on `ibc-core` (#1037) * fix: refactor ibc-derive to support broader cases * fix: cargo doc * imp: define get_impl_quote * imp: move each set of derives to the related meta-crate * imp: refactor ClientState drive to work with generics with trait-bounds * fix: remove redundant derive feature * docs: improve derive docstrings * imp: define SupportedCrate enum
- Loading branch information
1 parent
e1e3107
commit 0616538
Showing
18 changed files
with
404 additions
and
156 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
...d/bug-fixes/910-refactor-client-state-derive-to-handle-context-with-generics.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc-derive] Refactor `ClientState` macro derivation to handle contexts with | ||
generic types. ([\#910](https://github.com/cosmos/ibc-rs/issues/910)) |
2 changes: 2 additions & 0 deletions
2
.changelog/unreleased/bug-fixes/999-make-ibc-derive-work-with-ibc-core.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- [ibc-derive] Adapt macro derivations to integrate with projects dependent on | ||
`ibc-core` ([\#999](https://github.com/cosmos/ibc-rs/issues/999)). |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,3 @@ proc-macro = true | |
syn = "2" | ||
proc-macro2 = "1" | ||
quote = "1" | ||
darling = "0.20" |
This file contains 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
This file contains 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
Oops, something went wrong.