-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate reexports of types that have been moved to other crates. #1672
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1672 +/- ##
=======================================
Coverage 52.25% 52.26%
=======================================
Files 179 179
Lines 21376 21362 -14
=======================================
- Hits 11171 11164 -7
+ Misses 10205 10198 -7 ☔ View full report in Codecov by Sentry. |
d97f306
to
0a9cfc7
Compare
…ates. This commit temporarily removes the reexported types to simplify the removal process; the reexports will be reintroduced with deprecation annotations in the subsequent commit.
0a9cfc7
to
684097a
Compare
684097a
to
4b712f7
Compare
Due to limitations described in rust-lang/rust#30827, we can't just deprecate the `pub use` stanzas; instead, we have to replace reexports with new (deprecated) modules and public types which then internally reexport the module internals or alias the reexported types, respectively.
4b712f7
to
4bdf39c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 4bdf39c with nits (that will likely require a cargo fmt
).
zcash_client_sqlite/src/wallet/init/migrations/receiving_key_scopes.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Jack Grigg <[email protected]>
2e01292
to
1855385
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 1855385
The first commit of this PR removes the
pub use
reexports of types that have been moved to other crates and replaces the internal usage of these types with the types from their new crates. The second commit reintroduces thosepub use
reexports withdeprecated
pragmas.