Expand description
Punycode (RFC 3492) implementation.
Since Punycode fundamentally works on unicode code points,
encode
and decode
take and return slices and vectors of char
.
encode_str
and decode_to_string
provide convenience wrappers
that convert from and to Rustβs UTF-8 based str
and String
types.
Structs§
- Decode π
- Decoder π
- ExternalCaller π
- InternalCaller π
Enums§
- PunycodeEncodeError π
Constants§
Traits§
- PunycodeCaller πMarker for internal vs. external caller to retain old API behavior while tweaking behavior for internal callers.
- PunycodeCodeUnit π
Functions§
- adapt π
- Convert Punycode to Unicode.
- Convert Punycode to an Unicode
String
. - Convert Unicode to Punycode.
- encode_into π
- Convert an Unicode
str
to Punycode. - value_to_digit π