Skip to content

Commit d48272f

Browse files
committed
chore: [#1303] remove explicit declaration of workspace members from Cargo.toml
For packages included in the main Cargo.toml file. The application works anyway because _all [path dependencies](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-path-dependencies) residing in the workspace directory automatically become members_. See https://doc.rust-lang.org/cargo/reference/workspaces.html#the-members-and-exclude-fields. We have to keep `console/tracker-client` becuase it's not included directly in the main Cargo.toml as a dependency.
1 parent 6088528 commit d48272f

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Cargo.toml

+1-12
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,7 @@ torrust-tracker-api-client = { version = "3.0.0-develop", path = "packages/track
108108
torrust-tracker-test-helpers = { version = "3.0.0-develop", path = "packages/test-helpers" }
109109

110110
[workspace]
111-
members = [
112-
"console/tracker-client",
113-
"contrib/bencode",
114-
"packages/configuration",
115-
"packages/located-error",
116-
"packages/primitives",
117-
"packages/test-helpers",
118-
"packages/torrent-repository",
119-
"packages/tracker-api-client",
120-
"packages/tracker-client",
121-
"packages/tracker-core",
122-
]
111+
members = ["console/tracker-client"]
123112

124113
[profile.dev]
125114
debug = 1

0 commit comments

Comments
 (0)