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ยง

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.
  • Turns a joining type into a mask for comparing with multiple type at once.