Skip to content

Conversation

nicoburns
Copy link

@nicoburns nicoburns commented Dec 16, 2024

This crate only uses regex in a build script for parsing Caseless.txt. And it has ended up being the only thing pulling regex into my dependency tree for a project for which I am trying to optimise compile times.

This PR replaces regex in the build script with custom parsing code. The format is simple enough that this is quite straightforward, and I have manually verified that this produces identical output to the previous build script.

Signed-off-by: Nico Burns <nico@nicoburns.com>
Signed-off-by: Nico Burns <nico@nicoburns.com>
@crazymerlyn
Copy link
Contributor

#21 removes the dependency for regex, at least for downstream users.

@nicoburns
Copy link
Author

Closing this as #21 achieves my aims.

@nicoburns nicoburns closed this Jan 4, 2025
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