mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-09 12:29:41 +00:00
workspace: add anyhow
This commit is contained in:
parent
ba5a495a1d
commit
f301087506
3 changed files with 23 additions and 1 deletions
18
Cargo.lock
generated
18
Cargo.lock
generated
|
@ -109,6 +109,12 @@ dependencies = [
|
|||
"windows-sys 0.52.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "anyhow"
|
||||
version = "1.0.81"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247"
|
||||
|
||||
[[package]]
|
||||
name = "async-lock"
|
||||
version = "3.3.0"
|
||||
|
@ -610,6 +616,18 @@ dependencies = [
|
|||
"tower",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cuprate-database-benchmark"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"cfg-if",
|
||||
"clap",
|
||||
"cuprate-helper",
|
||||
"rayon",
|
||||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cuprate-helper"
|
||||
version = "0.1.0"
|
||||
|
|
|
@ -6,6 +6,7 @@ members = [
|
|||
"consensus/rules",
|
||||
"cryptonight",
|
||||
"database",
|
||||
"database/benchmark",
|
||||
"helper",
|
||||
"net/epee-encoding",
|
||||
"net/fixed-bytes",
|
||||
|
@ -36,6 +37,7 @@ opt-level = 1
|
|||
opt-level = 3
|
||||
|
||||
[workspace.dependencies]
|
||||
anyhow = { version = "1.0.81", default-features = false }
|
||||
async-trait = { version = "0.1.74", default-features = false }
|
||||
bitflags = { version = "2.4.2", default-features = false }
|
||||
borsh = { version = "1.2.1", default-features = false }
|
||||
|
|
|
@ -14,7 +14,9 @@ default = []
|
|||
[dependencies]
|
||||
anyhow = { workspace = true }
|
||||
cfg-if = { workspace = true }
|
||||
cuprate-helper = { path = "../helper", features = ["fs", "thread"] }
|
||||
clap = { workspace = true, features = ["default", "derive"] }
|
||||
cuprate-helper = { path = "../../helper", features = ["fs", "thread"] }
|
||||
tracing = { workspace = true }
|
||||
rayon = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
Loading…
Reference in a new issue