Skip to content

Commit 352e180

Browse files
committed
refactor: move Cargo.toml to fabric/ root
Release-plz tracks changes within the package directory. With Cargo.toml at fabric/, changes to any language client (js/, go/, kotlin/, python/, swift/) trigger a version bump.
1 parent 2f4898c commit 352e180

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
resolver = "2"
3-
members = ["fabric/rust", "relay", "tests"]
3+
members = ["fabric", "relay", "tests"]
44

55
[workspace.package]
66
version = "0.1.1"
@@ -12,7 +12,7 @@ homepage = "https://spacesprotocol.org"
1212
authors = ["Buffrr <contact@buffrr.dev>"]
1313

1414
[workspace.dependencies]
15-
fabric-resolver = { path = "fabric/rust", version = "0.1.1" }
15+
fabric-resolver = { path = "fabric", version = "0.1.1" }
1616
libveritas = { version = "0.1" }
1717
libveritas_testutil = { version = "0.1" }
1818

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ categories = ["network-programming"]
1414

1515
[lib]
1616
name = "fabric"
17+
path = "rust/src/lib.rs"
1718

1819
[[bin]]
1920
name = "fabric"
20-
path = "src/main.rs"
21+
path = "rust/src/main.rs"
2122
required-features = ["client"]
2223

2324
[features]

relay/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ path = "src/main.rs"
1111
[dependencies]
1212
clap = { version = "4", features = ["derive", "env"] }
1313
libveritas = { workspace = true }
14-
resolver = { path = "../fabric/rust", package = "fabric-resolver", default-features = false }
14+
resolver = { path = "../fabric", package = "fabric-resolver", default-features = false }
1515
spaces_protocol = { workspace = true }
1616
spaces_client = { workspace = true }
1717
spaces_nums = { workspace = true }

tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish = false
77
[dependencies]
88
relay = { path = "../relay", features = ["testutil"] }
99
axum = "0.8"
10-
fabric = { path = "../fabric/rust", package = "fabric-resolver" }
10+
fabric = { path = "../fabric", package = "fabric-resolver" }
1111
libveritas = { workspace = true }
1212
libveritas_testutil = { workspace = true }
1313
spaces_protocol = { workspace = true }

0 commit comments

Comments
 (0)