Skip to content

Remove unsound API and existing deprecated items#27

Merged
fenhl merged 4 commits into
comex:masterfrom
fenhl:v2
May 16, 2026
Merged

Remove unsound API and existing deprecated items#27
fenhl merged 4 commits into
comex:masterfrom
fenhl:v2

Conversation

@fenhl

@fenhl fenhl commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

Fixes #26. The unsound API is replaced with unsafe functions Shlex::from_bytes and Shlex::as_bytes_mut.

Since removing the unsound API is a breaking change, I took the opportunity to also remove deprecated items.

@fenhl fenhl requested a review from comex April 28, 2026 14:41
@fenhl fenhl added the bug label Apr 28, 2026
@fenhl fenhl merged commit b22bb13 into comex:master May 16, 2026
4 checks passed
@fenhl fenhl deleted the v2 branch May 16, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Soundness: safe DerefMut + bytes::Shlex::new lets safe code construct a non-UTF-8 String via Shlex::next

1 participant