rialight::util
Rialight utilities module.
Features
- Literal initializers for HashMap, HashSet, BTreeMap and BTreeSet, such as
hashmap!{}
.
- Lazy statics. Mainly composed of the
lazy_static::define!
macro.
- Regular expressions. Refer to the crate lazy-regex for more information.
- Bit flags. Refer to the crate bitflags for more information.
- String formatting as the module
rialight::util::template_string
.
- Escaping URIs and their components. This includes the methods
encode_uri
, decode_uri
, encode_uri_component
and decode_uri_component
.