3 stable releases

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

#431 in Template engine

Download history 1/week @ 2024-03-19 3/week @ 2024-03-26 18/week @ 2024-04-02 1/week @ 2024-05-07 5/week @ 2024-05-14 1/week @ 2024-05-21 5/week @ 2024-05-28 1/week @ 2024-06-04 7/week @ 2024-06-11 56/week @ 2024-07-02

64 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–4.5MB
~91K SLoC