3 stable releases

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

#502 in Template engine

Download history 1/week @ 2024-11-15 1/week @ 2024-11-22 1/week @ 2024-11-29 8/week @ 2024-12-06 6/week @ 2024-12-13 2/week @ 2025-01-17

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