-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Question: For what functionality does bstr
need regex-automata
and lazy-static
?
#53
Comments
For Unicode handling, as the feature name suggests. :-) It's also documented in the README.
If you're looking for more specifics, then |
I don't see a ton of room for improvement here to be honest. Pretty much any kind of Unicode handling is always going to require a bit of fat somewhere. In this case, I think moving forward, there is some potential for removing the
In theory, |
Thanks for the thorough answer. I'm looking for a small crate that makes dealing with almost UTF8 strings nicer, so that I can work with them like with std's From the crate documentation:
Take the following from a not-yet user, not really informed about the history of this crate: Could these perhaps be disabled by default so that this crate is more of a drop-in replacement for the standard library's |
I went to the top ten reverse dependencies of Does it use the unicode features of The ripgrep-related crates probably use those. Other than your crates, I only see rlua (which does manage to disable default dependencies) and cargo-release (which does not disable the default dependency, but I guess it doesn't use the unicode data either). |
I think this is more of a philosophical stance, right? If I were, to say, embed the DFA search runtime from Switching the defaults is something I'm possibly open to. (And in particular, this is good timing, since I hope to put out a Generally my view here was that things like I think at a high level, I feel like "Unicode by default" is the philosophically better choice in general.
Yes, it uses (I have been considering removing the use of |
I'm going to close this out. I still fee largely the same as I did when I wrote my comments above, and I don't see it changing necessarily. |
bstr/Cargo.toml
Line 25 in 91edb3f
I'm considering using this crate, but it seems to have quite some heavy dependencies by default (I'm aware that I can turn it off). What are these dependencies used for?
The text was updated successfully, but these errors were encountered: