mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-02-03 11:46:31 +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",
|
"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]]
|
[[package]]
|
||||||
name = "async-lock"
|
name = "async-lock"
|
||||||
version = "3.3.0"
|
version = "3.3.0"
|
||||||
|
@ -610,6 +616,18 @@ dependencies = [
|
||||||
"tower",
|
"tower",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "cuprate-database-benchmark"
|
||||||
|
version = "0.0.0"
|
||||||
|
dependencies = [
|
||||||
|
"anyhow",
|
||||||
|
"cfg-if",
|
||||||
|
"clap",
|
||||||
|
"cuprate-helper",
|
||||||
|
"rayon",
|
||||||
|
"tracing",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cuprate-helper"
|
name = "cuprate-helper"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
|
@ -6,6 +6,7 @@ members = [
|
||||||
"consensus/rules",
|
"consensus/rules",
|
||||||
"cryptonight",
|
"cryptonight",
|
||||||
"database",
|
"database",
|
||||||
|
"database/benchmark",
|
||||||
"helper",
|
"helper",
|
||||||
"net/epee-encoding",
|
"net/epee-encoding",
|
||||||
"net/fixed-bytes",
|
"net/fixed-bytes",
|
||||||
|
@ -36,6 +37,7 @@ opt-level = 1
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
|
anyhow = { version = "1.0.81", default-features = false }
|
||||||
async-trait = { version = "0.1.74", default-features = false }
|
async-trait = { version = "0.1.74", default-features = false }
|
||||||
bitflags = { version = "2.4.2", default-features = false }
|
bitflags = { version = "2.4.2", default-features = false }
|
||||||
borsh = { version = "1.2.1", default-features = false }
|
borsh = { version = "1.2.1", default-features = false }
|
||||||
|
|
|
@ -14,7 +14,9 @@ default = []
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = { workspace = true }
|
anyhow = { workspace = true }
|
||||||
cfg-if = { 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 }
|
rayon = { workspace = true, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
Loading…
Reference in a new issue