Skip to content

der_derive: remove OctetStringRefDeriveHack - #2043

Merged
tarcieri merged 1 commit into
RustCrypto:masterfrom
baloo:baloo/der_derive/remove-hack
Sep 17, 2025
Merged

der_derive: remove OctetStringRefDeriveHack#2043
tarcieri merged 1 commit into
RustCrypto:masterfrom
baloo:baloo/der_derive/remove-hack

Conversation

@baloo

Copy link
Copy Markdown
Member

Fixes#2039

@baloo
baloo marked this pull request as ready for review September 17, 2025 05:44
@baloo
balooforce-pushed the baloo/der_derive/remove-hack branch from 7f9cbbb to adb46bfCompareSeptember 17, 2025 05:49
@tarcieri
tarcieri merged commit 1985c7f into RustCrypto:masterSep 17, 2025
107 checks passed
@tarcieritarcieri mentioned this pull request Feb 11, 2026
tarcieri added a commit that referenced this pull request Feb 11, 2026
## Added
- `Sequence`, `Enumerated` and `Choice` macros now support `#[asn1(error = Ty)]`
attribute that provides a custom error type for `Decode`/`DecodeValue`
implementations (#1560)
- `BitString` macro (#1720, #1733)
- `DecodeValue`, `EncodeValue` macros (#1722)
- Derive support for `APPLICATION` and `PRIVATE` tags (#1825)
- Impl `DecodeValue` for `Choice` (#1986)
## Changed
- Use `TryFrom` conversions for `asn1(type = ...)` (#1562)
- Rewrite `EncodeValue::value_len` as simple addition (#1810)
- Change OctetStringRef `&` handling due to `der` type changes
(#1998, #2040, #2043)
Sign up for freeto 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.

der_derive: add support for reference newtypes

2 participants

@baloo@tarcieri