3 stable releases

1.6.1 Mar 7, 2023
1.5.0 Mar 2, 2023
1.0.0 Nov 13, 2022

#465 in Template engine

Download history 5/week @ 2024-07-14 1/week @ 2024-07-21 101/week @ 2024-07-28 18/week @ 2024-09-22 10/week @ 2024-09-29

130 downloads per month
Used in 4 crates

ISC license

32KB
297 lines

rialight::util

Rialight utilities module.

Features

  • Literal initializers for HashMap, HashSet, BTreeMap and BTreeSet, such as hashmap!{}.
  • Lazy statics. Refer to the crate lazy_static for more information.
  • 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.

Dependencies

~3.5–5MB
~95K SLoC