Skip to main content

stefans_utils/
lib.rs

1//! A collection of useful Rust utility functions, types, and traits.
2
3// Traits:
4pub mod as_arc;
5pub mod as_bool;
6pub mod as_clone;
7pub mod as_copy;
8pub mod as_str;
9pub mod expect_comparison;
10pub mod expect_length;
11pub mod find_upwards;
12pub mod from_str;
13pub mod map;
14pub mod map_into;
15pub mod try_map_into;
16pub mod unwrap_into;
17pub mod with_len;
18
19// Trait implementations:
20pub mod bool;
21pub mod hash_map;
22pub mod hash_set;
23pub mod option;
24pub mod path;
25pub mod str;
26pub mod string;
27pub mod vec;
28
29// Structs:
30pub mod comparator;
31pub mod secret;
32
33// Serde-helpers
34#[cfg(feature = "serde")]
35pub mod php_safe_hashmap;
36
37// Exports:
38pub mod dependencies;
39pub mod prelude;