Debian Codegraph @

debian/patches/workspace-exclude.patch

raw
1 Description: Keep the vendored crates out of the cargo workspace
2 The vendored crates live in debian/rust-vendor/, i.e. inside the source
3 tree, so cargo tries to treat every crate found there as a workspace
4 member and errors out. Exclude the directory explicitly.
5 .
6 Ubuntu carries the same change (it is a no-op for an upstream checkout,
7 which has no debian/ directory).
8 Author: Sylvestre Ledru <[email protected]>
9 Forwarded: not-needed
10 Last-Update: 2026-08-06
11
12 ===================================================================
13 --- a/Cargo.toml
14 +++ b/Cargo.toml
15 @@ -307,6 +307,7 @@ members = [
16 "tests/uutests",
17 # "fuzz", # TODO
18 ]
19 +exclude = ["debian/rust-vendor"]
20
21 [workspace.package]
22 categories = ["command-line-utilities"]