From 7e005012edbf012b43e205967bedcec6448c9d87 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Thu, 28 Nov 2024 09:41:31 -0500 Subject: [PATCH] cargo.toml fixes --- Cargo.lock | 12 ++++++------ benches/criterion/cuprate-blockchain/Cargo.toml | 8 ++++---- benches/criterion/cuprate-cryptonight/Cargo.toml | 4 ++-- benches/criterion/cuprate-database/Cargo.toml | 8 ++++---- benches/criterion/cuprate-helper/Cargo.toml | 6 +++--- benches/criterion/cuprate-rpc-types/Cargo.toml | 6 +++--- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0c90fdb..482c458 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -799,15 +799,17 @@ name = "cuprate-constants" version = "0.1.0" [[package]] -name = "cuprate-criterion-database" +name = "cuprate-criterion-blockchain" version = "0.0.0" dependencies = [ "criterion", "cuprate-blockchain", - "cuprate-database", "cuprate-helper", + "cuprate-test-utils", + "cuprate-types", "function_name", "rand", + "serde_json", "tempfile", ] @@ -821,17 +823,15 @@ dependencies = [ ] [[package]] -name = "cuprate-criterion-blockchain" +name = "cuprate-criterion-database" version = "0.0.0" dependencies = [ "criterion", "cuprate-blockchain", + "cuprate-database", "cuprate-helper", - "cuprate-test-utils", - "cuprate-types", "function_name", "rand", - "serde_json", "tempfile", ] diff --git a/benches/criterion/cuprate-blockchain/Cargo.toml b/benches/criterion/cuprate-blockchain/Cargo.toml index de3dab1..585bf7e 100644 --- a/benches/criterion/cuprate-blockchain/Cargo.toml +++ b/benches/criterion/cuprate-blockchain/Cargo.toml @@ -9,10 +9,10 @@ repository = "https://github.com/Cuprate/cuprate/tree/main/benches/criterion/cu keywords = ["cuprate", "blockchain", "criterion", "benchmark"] [dependencies] -cuprate-blockchain = { path = "../../../storage/blockchain" } -cuprate-test-utils = { path = "../../../test-utils" } -cuprate-types = { path = "../../../types", default-features = false } -cuprate-helper = { path = "../../../helper", features = ["cast"] } +cuprate-blockchain = { workspace = true } +cuprate-test-utils = { workspace = true } +cuprate-types = { workspace = true, default-features = false } +cuprate-helper = { workspace = true, features = ["cast"] } criterion = { workspace = true } function_name = { workspace = true } diff --git a/benches/criterion/cuprate-cryptonight/Cargo.toml b/benches/criterion/cuprate-cryptonight/Cargo.toml index dfa8b68..21e4d92 100644 --- a/benches/criterion/cuprate-cryptonight/Cargo.toml +++ b/benches/criterion/cuprate-cryptonight/Cargo.toml @@ -9,11 +9,11 @@ repository = "https://github.com/Cuprate/cuprate/tree/main/benches/criterion/cu keywords = ["cuprate", "cryptonight", "criterion", "benchmark"] [dependencies] +cuprate-cryptonight = { workspace = true } + criterion = { workspace = true } function_name = { workspace = true } -cuprate-cryptonight = { path = "../../../cryptonight" } - [[bench]] name = "main" harness = false diff --git a/benches/criterion/cuprate-database/Cargo.toml b/benches/criterion/cuprate-database/Cargo.toml index 345448b..c824853 100644 --- a/benches/criterion/cuprate-database/Cargo.toml +++ b/benches/criterion/cuprate-database/Cargo.toml @@ -24,11 +24,11 @@ redb = ["cuprate-database/redb", "cuprate-blockchain/redb"] # - cuprate-blockchain/asynch # - cuprate-blockchain/tx -criterion = { workspace = true } -cuprate-database = { path = "../../../storage/database" } -cuprate-blockchain = { path = "../../../storage/blockchain", features = ["service"] } -cuprate-helper = { path = "../../../helper", features = ["asynch", "fs", "thread", "tx"] } +cuprate-database = { workspace = true } +cuprate-blockchain = { workspace = true } +cuprate-helper = { workspace = true, features = ["asynch", "fs", "thread", "tx"] } +criterion = { workspace = true } function_name = { workspace = true } tempfile = { workspace = true } rand = { workspace = true, features = ["std", "std_rng"] } diff --git a/benches/criterion/cuprate-helper/Cargo.toml b/benches/criterion/cuprate-helper/Cargo.toml index c9d0c8d..93a6698 100644 --- a/benches/criterion/cuprate-helper/Cargo.toml +++ b/benches/criterion/cuprate-helper/Cargo.toml @@ -9,9 +9,9 @@ repository = "https://github.com/Cuprate/cuprate/tree/main/benches/criterion/ex keywords = ["cuprate", "helper", "criterion", "benchmark"] [dependencies] -cuprate-constants = { path = "../../../constants", features = ["block"] } -cuprate-helper = { path = "../../../helper", features = ["cast", "map", "num", "tx"] } -cuprate-test-utils = { path = "../../../test-utils" } +cuprate-constants = { workspace = true, features = ["block"] } +cuprate-helper = { workspace = true, features = ["cast", "map", "num", "tx"] } +cuprate-test-utils = { workspace = true } criterion = { workspace = true } function_name = { workspace = true } diff --git a/benches/criterion/cuprate-rpc-types/Cargo.toml b/benches/criterion/cuprate-rpc-types/Cargo.toml index 996ebcd..2111960 100644 --- a/benches/criterion/cuprate-rpc-types/Cargo.toml +++ b/benches/criterion/cuprate-rpc-types/Cargo.toml @@ -9,9 +9,9 @@ repository = "https://github.com/Cuprate/cuprate/tree/main/benches/criterion/cu keywords = ["cuprate", "rpc", "types", "criterion", "benchmark"] [dependencies] -cuprate-epee-encoding = { path = "../../../net/epee-encoding" } -cuprate-rpc-types = { path = "../../../rpc/types", features = ["serde", "epee"] } -cuprate-test-utils = { path = "../../../test-utils" } +cuprate-epee-encoding = { workspace = true } +cuprate-rpc-types = { workspace = true, features = ["serde", "epee"] } +cuprate-test-utils = { workspace = true } criterion = { workspace = true } function_name = { workspace = true }