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ยง
- Adapter
 - An adapter between a Unicode back end an the 
idnacrate. - Bidi
Class  - Value for the Bidi_Class Unicode property.
 - Bidi
Class Mask  - A mask representing potentially multiple 
BidiClassvalues. - Joining
Type  - Value for the Joining_Type Unicode property.
 - Joining
Type Mask  - A mask representing potentially multiple 
JoiningTypevalues. 
Constantsยง
- FIRST_
BC_ MASK  - Mask for allowable bidi classes in the first character of a label (either LTR or RTL) in a bidi domain.
 - LAST_
LTR_ MASK  - LAST_
RTL_ MASK  - LEFT_
OR_ DUAL_ JOINING_ MASK  - Mask for checking for both left and dual joining.
 - MARK_
MASK ๐ - Mask for the disallowed general categories of the first character in a label.
 - MIDDLE_
LTR_ MASK  - MIDDLE_
RTL_ MASK  - RIGHT_
OR_ DUAL_ JOINING_ MASK  - Mask for checking for both left and dual joining.
 - RTL_
MASK  - 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.
 - general_
category_ ๐to_ mask  - 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.