Skip to content
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

const-oid: make ObjectIdentifier::as_bytes a const fn #1303

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

tarcieri
Copy link
Member

@tarcieri tarcieri commented Jan 5, 2024

Also bumps MSRV to 1.71 due to the const use of [u8]::split_at.

Additionally makes the internal Encoder type const generic around the size of the output buffer.

@tarcieri tarcieri force-pushed the const-oid/const-fn-as-bytes branch 5 times, most recently from cf0c8ea to eed304a Compare January 5, 2024 02:01
Also bumps MSRV to 1.71 due to the const use of `[u8]::split_at`.

Additionally makes the internal `Encoder` type const generic around the
size of the output buffer.
@tarcieri tarcieri force-pushed the const-oid/const-fn-as-bytes branch from eed304a to 103c97b Compare January 5, 2024 02:21
@tarcieri tarcieri merged commit 215e388 into master Jan 5, 2024
107 checks passed
@tarcieri tarcieri deleted the const-oid/const-fn-as-bytes branch January 5, 2024 02:50
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