IDNA NamePrep
Closed this issue · 2 comments
SimonSapin commented
This crate implements IDNA with Punycode, but seems to be missing the "Nameprep" part. rust-url has that in a module: https://github.com/servo/rust-url/blob/master/src/idna.rs If you’re interested this could be a separate crate.
murarth commented
Yes, I would be interested. That would be great.
SimonSapin commented
Alright, https://crates.io/crates/idna is published with the source currently at https://github.com/servo/rust-url/tree/idna-crate/idna
It currently doesn’t use Cow::Borrowed
to avoid copying when possible like your module does, but that should be possible to add.