Skip to content

Conversation

sivizius
Copy link
Contributor

This PR will implement all derivable std-traits mentioned in C-COMMON-TRAITS for base64-alphabets. This allows using these types e.g. as PhantomData<E> where E: Encoding and derive PartialOrd for the container-type. These alphabet-types are unit-structs, so there is not really a reason not to derive everything possible to make them more usable.

@sivizius sivizius force-pushed the base64ct-alphabets-c-common-traits branch from 8854bd5 to fde251c Compare October 19, 2024 16:54
@tarcieri tarcieri merged commit 75edabf into RustCrypto:master Oct 19, 2024
52 checks passed
baloo added a commit to baloo/formats that referenced this pull request Feb 26, 2025
Added
- derive additional traits on alphabets (RustCrypto#1578)

Changed
- MSRV 1.85 // Edition 2024 (RustCrypto#1670)
- reject zero-length decode requests (RustCrypto#1387)
- use `core::error::Error` (RustCrypto#1681)
@baloo baloo mentioned this pull request Feb 26, 2025
baloo added a commit that referenced this pull request Feb 26, 2025
Added
- derive additional traits on alphabets (#1578)

Changed
- MSRV 1.85 // Edition 2024 (#1670)
- reject zero-length decode requests (#1387)
- use `core::error::Error` (#1681)
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.

2 participants