Skip to content

Commit 3dc755e

Browse files
committed
chore: re-arrange crates
1 parent d77a364 commit 3dc755e

File tree

25 files changed

+14
-25
lines changed

25 files changed

+14
-25
lines changed

Cargo.toml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,12 @@
11
[workspace]
2-
members = ["dash", "hashes", "internals", "fuzz"]
2+
members = ["dash", "hashes", "internals", "fuzz", "rpc-client", "rpc-json", "rpc-integration-test"]
33
resolver = "2"
44

5-
5+
[workspace.package]
6+
version = "0.37.0"
67

78
[patch.crates-io.dashcore_hashes]
89
path = "hashes"
910

1011

11-
[workspace]
12-
13-
members = [
14-
"json",
15-
"client",
16-
"integration_test",
17-
]
18-
19-
20-
21-
[workspace.package]
22-
version = "0.17.0"
2312

dash/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dashcore"
3-
version = "0.36.3"
3+
version = { workspace = true }
44
authors = [
55
"Samuel Westrich <sam@dash.org>",
66
"Anton Suprunchuk <anton@dash.org>",
@@ -47,9 +47,9 @@ all-features = true
4747
rustdoc-args = ["--cfg", "docsrs"]
4848

4949
[dependencies]
50-
internals = { package = "dashcore-private", version = "0.1.0", path = "../internals" }
50+
internals = { path = "../internals", package = "dashcore-private" }
5151
bech32 = { version = "0.9.0", default-features = false }
52-
dashcore_hashes = { path = "../hashes", package = "dashcore_hashes", default-features = false }
52+
dashcore_hashes = { path = "../hashes", default-features = false }
5353
secp256k1 = { default-features = false, features = ["hashes"], version= "0.30.0" }
5454
core2 = { version = "0.3.0", optional = true, features = ["alloc"], default-features = false }
5555
rustversion = { version="1.0.9"}

fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dash-fuzz"
33
edition = "2018"
4-
version = "0.0.1"
4+
version = { workspace = true}
55
authors = ["Generated by fuzz/generate-files.sh"]
66
publish = false
77

hashes/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dashcore_hashes"
3-
version = "0.15.3"
3+
version = { workspace = true}
44
authors = ["Samuel Westrich <sam@dash.org>"]
55
license = "CC0-1.0"
66
repository = "https://github.com/rust-dashcore/dash_hashes/"
@@ -25,7 +25,7 @@ all-features = true
2525
rustdoc-args = ["--cfg", "docsrs"]
2626

2727
[dependencies]
28-
internals = { path = "../internals", package = "dashcore-private", version = "0.1.0" }
28+
internals = { path = "../internals", package = "dashcore-private" }
2929

3030
core2 = { version = "0.3.0", default-features = false, optional = true }
3131
# Only enable this if you explicitly do not want to use "std", otherwise enable "serde-std".

internals/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dashcore-private"
3-
version = "0.1.0"
3+
version = { workspace = true }
44
authors = ["Samuel Westrich <sam@dash.org>", "The Rust Dash developers"]
55
license = "CC0-1.0"
66
repository = "https://github.com/rust-dashcore/rust-dashcore/"
File renamed without changes.

client/Cargo.toml renamed to rpc-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ name = "dashcore_rpc"
1919
path = "src/lib.rs"
2020

2121
[dependencies]
22-
dashcore-rpc-json = { version = "0.16", path = "../json" }
22+
dashcore-rpc-json = { path = "../rpc-json" }
2323

2424
log = "0.4.5"
2525
jsonrpc = "0.14.0"
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)