Crate rialight_util

source ·

Modules

  • A typesafe bitmask flag generator useful for sets of C-style bitmask flags. It can be used for creating typesafe wrappers around C APIs.
  • A macro for declaring lazily evaluated statics.
  • Module with functions for manipulating file paths.
  • Use the regex! macro to build regexes:
  • Module for formatting strings. It allows replacing strings in the form "$x $y $z"; more information is documented at the apply() function

Macros

  • Creates a BTreeMap object from a list of key-value pairs.
  • Creates a BTreeSet object from a list of values.
  • Creates a HashMap object from a list of key-value pairs.
  • Creates a HashSet object from a list of values.

Functions

  • Decodes URIs previously creatd by encode_uri. Any invalid character sequences are ignored.
  • Decodes URI components previously creatd by encode_uri_component. Any invalid character sequences are ignored.
  • Escapes certain URI characters. Escapes all characters except:
  • Escapes certain characters from URI component. Escapes all characters except: