File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ use uuid::Uuid;
19
19
20
20
type Object = Map < String , Value > ;
21
21
22
- #[ derive( Clone , Copy ) ]
22
+ #[ derive( Debug , Clone , Copy ) ]
23
23
pub struct Config {
24
24
pub pretty : bool ,
25
25
pub indent : usize ,
@@ -36,7 +36,7 @@ impl Default for Config {
36
36
}
37
37
}
38
38
39
- #[ derive( Clone ) ]
39
+ #[ derive( Debug , Clone ) ]
40
40
pub struct FileStore {
41
41
path : PathBuf ,
42
42
cfg : Config ,
Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ use memory_store::MemoryStore;
68
68
69
69
pub use file_store:: Config ;
70
70
71
- #[ derive( Clone ) ]
71
+ #[ derive( Debug , Clone ) ]
72
72
pub struct Store ( StoreType ) ;
73
73
74
- #[ derive( Clone ) ]
74
+ #[ derive( Debug , Clone ) ]
75
75
enum StoreType {
76
76
File ( Arc < RwLock < FileStore > > , PathBuf ) ,
77
77
Memory ( MemoryStore ) ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use std::{
8
8
} ;
9
9
use uuid:: Uuid ;
10
10
11
- #[ derive( Clone , Default ) ]
11
+ #[ derive( Debug , Clone , Default ) ]
12
12
pub struct MemoryStore {
13
13
mem : Arc < RwLock < HashMap < String , Mutex < String > > > > ,
14
14
}
You can’t perform that action at this time.
0 commit comments