stefans_utils/
lib.rs

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