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§

Adapter
An adapter between a Unicode back end an the idna crate.
BidiClass
Value for the Bidi_Class Unicode property.
BidiClassMask
A mask representing potentially multiple BidiClass values.
JoiningType
Value for the Joining_Type Unicode property.
JoiningTypeMask
A mask representing potentially multiple JoiningType values.

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.
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.