Skip to content

cipher: re-export generic_array from toplevel#343

Merged
tarcieri merged 1 commit intomasterfrom
cipher/toplevel-generic-array-reexport
Oct 16, 2020
Merged

cipher: re-export generic_array from toplevel#343
tarcieri merged 1 commit intomasterfrom
cipher/toplevel-generic-array-reexport

Conversation

@tarcieri
Copy link
Member

...along with typenum::consts

Failure to do this was an oversight: it doesn't really make sense to re-export these twice from both the block and stream modules.

That said, cipher v0.2 is already shipped, and it does ease a sed-based migration to keep these re-exports for now.

This commit adds a third re-export from the toplevel, and comments to remove the re-exports from the block and stream crates. This should happen before cipher v0.3 is released.

@tarcieri tarcieri requested a review from newpavlov October 16, 2020 12:49
...along with `typenum::consts`

Failure to do this was an oversight: it doesn't really make sense to
re-export these twice from both the `block` and `stream` modules.

That said, `cipher` v0.2 is already shipped, and it does ease a
sed-based migration to keep these re-exports for now.

This commit adds a third re-export from the toplevel, and comments to
remove the re-exports from the `block` and `stream` crates. This should
happen before `cipher` v0.3 is released.
@tarcieri tarcieri force-pushed the cipher/toplevel-generic-array-reexport branch from 6958a2b to f6f9581 Compare October 16, 2020 12:50
@tarcieri tarcieri merged commit 7410ecd into master Oct 16, 2020
@tarcieri tarcieri deleted the cipher/toplevel-generic-array-reexport branch October 16, 2020 12:55
dns2utf8 pushed a commit to dns2utf8/traits that referenced this pull request Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant