-
Notifications
You must be signed in to change notification settings - Fork 344
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
idna: Support no_alloc
idna validator
#1027
Comments
This would require the core of Even if the stack-allocated buffer size was 32 Rust How common is it to have code that doesn't have |
Extremely common. Embedded often uses the |
The OP wanted just validation without an allocator (use case not explained), but this seems to imply running the "ToASCII" operation without an allocator, since that's needed when actually opening connections. Do I understand correctly? |
Hi, the current
idna
crate supportsno_std
, but it cannot compile withoutalloc
feature. Sometimes, users may only want to check if a&str
is a valid international domain name and do not need to convert it to either unicode or ascii. For the validator, it should be possible to be implemented withoutalloc
.The text was updated successfully, but these errors were encountered: