mirror of
https://github.com/MAGICGrants/cuprate-for-explorer.git
synced 2026-01-09 19:47:59 -05:00
workspace: Defines cuprate members as workspace dependencies (#326)
Defines cuprate members as workspace dependencies - Defines cuprate members as workspace dependencies - Changed all `path` import into `workspace = true` Co-authored-by: Boog900 <boog900@tutanota.com>
This commit is contained in:
@@ -8,10 +8,10 @@ authors = ["Boog900"]
|
||||
repository = "https://github.com/Cuprate/cuprate/tree/main/consensus"
|
||||
|
||||
[dependencies]
|
||||
cuprate-helper = { path = "../helper", default-features = false, features = ["std", "asynch", "num"] }
|
||||
cuprate-consensus-rules = { path = "./rules", features = ["rayon"] }
|
||||
cuprate-types = { path = "../types" }
|
||||
cuprate-consensus-context = { path = "./context" }
|
||||
cuprate-helper = { workspace = true, default-features = false, features = ["std", "asynch", "num"] }
|
||||
cuprate-consensus-rules = { workspace = true, features = ["rayon"] }
|
||||
cuprate-types = { workspace = true }
|
||||
cuprate-consensus-context = { workspace = true }
|
||||
|
||||
cfg-if = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
@@ -28,8 +28,8 @@ hex = { workspace = true }
|
||||
rand = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
cuprate-test-utils = { path = "../test-utils" }
|
||||
cuprate-consensus-rules = {path = "./rules", features = ["proptest"]}
|
||||
cuprate-test-utils = { workspace = true }
|
||||
cuprate-consensus-rules = { workspace = true, features = ["proptest"]}
|
||||
|
||||
hex-literal = { workspace = true }
|
||||
curve25519-dalek = { workspace = true }
|
||||
|
||||
@@ -6,9 +6,9 @@ license = "MIT"
|
||||
authors = ["SyntheticBird","Boog900"]
|
||||
|
||||
[dependencies]
|
||||
cuprate-consensus-rules = { path = "../rules", features = ["proptest"]}
|
||||
cuprate-helper = { path = "../../helper", default-features = false, features = ["std", "cast", "num", "asynch"] }
|
||||
cuprate-types = { path = "../../types", default-features = false, features = ["blockchain"] }
|
||||
cuprate-consensus-rules = { workspace = true, features = ["proptest"]}
|
||||
cuprate-helper = { workspace = true, default-features = false, features = ["std", "cast", "num", "asynch"] }
|
||||
cuprate-types = { workspace = true, default-features = false, features = ["blockchain"] }
|
||||
|
||||
futures = { workspace = true, features = ["std", "async-await"] }
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"]}
|
||||
@@ -24,4 +24,4 @@ thread_local = { workspace = true }
|
||||
hex = { workspace = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
workspace = true
|
||||
|
||||
@@ -9,12 +9,12 @@ name = "cuprate-fast-sync-create-hashes"
|
||||
path = "src/create.rs"
|
||||
|
||||
[dependencies]
|
||||
cuprate-blockchain = { path = "../../storage/blockchain" }
|
||||
cuprate-consensus = { path = ".." }
|
||||
cuprate-consensus-rules = { path = "../rules" }
|
||||
cuprate-consensus-context = { path = "../context" }
|
||||
cuprate-types = { path = "../../types" }
|
||||
cuprate-helper = { path = "../../helper", features = ["cast"] }
|
||||
cuprate-blockchain = { workspace = true }
|
||||
cuprate-consensus = { workspace = true }
|
||||
cuprate-consensus-rules = { workspace = true }
|
||||
cuprate-consensus-context = { workspace = true }
|
||||
cuprate-types = { workspace = true }
|
||||
cuprate-helper = { workspace = true, features = ["cast"] }
|
||||
|
||||
clap = { workspace = true, features = ["derive", "std"] }
|
||||
hex = { workspace = true }
|
||||
|
||||
@@ -11,10 +11,10 @@ proptest = ["cuprate-types/proptest"]
|
||||
rayon = ["dep:rayon"]
|
||||
|
||||
[dependencies]
|
||||
cuprate-constants = { path = "../../constants", default-features = false, features = ["block"] }
|
||||
cuprate-helper = { path = "../../helper", default-features = false, features = ["std", "cast"] }
|
||||
cuprate-types = { path = "../../types", default-features = false }
|
||||
cuprate-cryptonight = {path = "../../cryptonight"}
|
||||
cuprate-constants = { workspace = true, default-features = false, features = ["block"] }
|
||||
cuprate-helper = { workspace = true, default-features = false, features = ["std", "cast"] }
|
||||
cuprate-types = { workspace = true, default-features = false }
|
||||
cuprate-cryptonight = { workspace = true }
|
||||
|
||||
monero-serai = { workspace = true, features = ["std"] }
|
||||
curve25519-dalek = { workspace = true, features = ["alloc", "zeroize", "precomputed-tables"] }
|
||||
|
||||
Reference in New Issue
Block a user