Crate idna_adapter
source ยทExpand description
This crate abstracts over a Unicode back end for the idna
crate.
To work around the lack of global-features
in Cargo, this
crate allows the top level Cargo.lock
to choose an alternative
Unicode back end for the idna
crate by pinning a version of this
crate.
See the README of the latest version for more details.
Structsยง
- An adapter between a Unicode back end an the
idna
crate. - Value for the Bidi_Class Unicode property.
- A mask representing potentially multiple
BidiClass
values. - Value for the Joining_Type Unicode property.
- A mask representing potentially multiple
JoiningType
values.
Constantsยง
- Mask for allowable bidi classes in the first character of a label (either LTR or RTL) in a bidi domain.
- Mask for checking for both left and dual joining.
- MARK_MASK ๐Mask for the disallowed general categories of the first character in a label.
- Mask for checking for both left and dual joining.
- Mask for checking if the domain is a bidi domain.
Functionsยง
- bidi_class_to_mask ๐Turns a bidi class into a mask for comparing with multiple classes at once.
- Turns a genecal category into a mask for comparing with multiple categories at once.
- joining_type_to_mask ๐Turns a joining type into a mask for comparing with multiple type at once.