@@ -9,33 +9,31 @@ repository = "https://github.com/Cuprate/cuprate/tree/main/storage/cuprate-bloc
9
9
keywords = [" cuprate" , " blockchain" , " database" ]
10
10
11
11
[features ]
12
- default = [" heed" , " service " ]
12
+ default = [" heed" ]
13
13
# default = ["redb", "service"]
14
14
# default = ["redb-memory", "service"]
15
15
heed = [" cuprate-database/heed" ]
16
16
redb = [" cuprate-database/redb" ]
17
17
redb-memory = [" cuprate-database/redb-memory" ]
18
- service = [" dep:tower" , " dep:thread_local" , " dep:rayon" , " dep:rand" , " cuprate-helper/thread" ]
19
18
serde = [" dep:serde" , " cuprate-database/serde" , " cuprate-database-service/serde" ]
20
19
21
20
[dependencies ]
22
21
cuprate-database = { workspace = true }
23
22
cuprate-database-service = { workspace = true }
24
- cuprate-helper = { workspace = true , features = [" fs" , " map" , " crypto" , " tx" ] }
23
+ cuprate-helper = { workspace = true , features = [" fs" , " map" , " crypto" , " tx" , " thread " ] }
25
24
cuprate-types = { workspace = true , features = [" blockchain" ] }
26
25
cuprate-pruning = { workspace = true }
27
26
28
27
bitflags = { workspace = true , features = [" std" , " serde" , " bytemuck" ] }
29
28
bytemuck = { workspace = true , features = [" must_cast" , " derive" , " min_const_generics" , " extern_crate_alloc" ] }
30
29
curve25519-dalek = { workspace = true }
31
- rand = { workspace = true , features = [" std" , " std_rng" ], optional = true }
30
+ rand = { workspace = true , features = [" std" , " std_rng" ] }
32
31
monero-serai = { workspace = true , features = [" std" ] }
33
32
serde = { workspace = true , optional = true }
34
33
35
- # `service` feature.
36
- tower = { workspace = true , optional = true }
37
- thread_local = { workspace = true , optional = true }
38
- rayon = { workspace = true , optional = true }
34
+ tower = { workspace = true }
35
+ thread_local = { workspace = true }
36
+ rayon = { workspace = true }
39
37
40
38
[dev-dependencies ]
41
39
cuprate-constants = { workspace = true }
0 commit comments