-
Notifications
You must be signed in to change notification settings - Fork 17
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
Static lists #14
Comments
Thank you. I've just released
Since the Public Suffix List is a living document, I prefer that caching strategies, like the |
Ok no worries. I'll release |
Cool, thanks. |
@jprider63 You may be interested in the newer replacement of this crate which is a lot faster. See some benchmarks against a |
I'd like to create
List
s statically at compile-time (I don't want to rely on the internet or ship the dat file). I've implemented this here usinglazy_static!
andinclude_str!
. Currently, this should extract the&str
at compile-time and lazily build the list at run-time. Would you be interested in including this static list in this crate?I just created the pull request #13, which adds a function
from_str
to create aList
. This should eliminate the need to callto_string
which might save some memory.The text was updated successfully, but these errors were encountered: