phony/lib.rs
1#[macro_use]
2pub mod macros;
3
4mod color;
5pub mod random;
6
7// ------------------------
8
9pub struct Provider {
10 pub color: color::Provider,
11}
12
13impl Provider {
14 pub fn new() -> Self {
15 Provider {
16 color: color::Provider::new(),
17 }
18 }
19}
20
21impl Default for Provider {
22 fn default() -> Self {
23 Self::new()
24 }
25}