Skip to content

Commit c641d24

Browse files
committed
Update members field in Cargo.toml
Formally include all crates, both binary and library, in the cargo workspace, so that dependabot can discover the Cargo.toml files of the library crates as well. Also document the reason why we have a default-members entry, and why it excludes the jailer. Signed-off-by: Patrick Roy <[email protected]>
1 parent 8e05e3c commit c641d24

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[workspace]
2-
members = ["src/acpi-tables", "src/clippy-tracing", "src/cpu-template-helper", "src/firecracker", "src/jailer", "src/log-instrument", "src/log-instrument-macros", "src/rebase-snap", "src/seccompiler", "src/snapshot-editor"]
2+
members = ["src/*"]
3+
# We exclude the jailer below so that it does not get build by default. This is because "cargo build" compiles
4+
# for the gnu target, and the jailer needs a statically compiled binary to work correctly.
5+
# See https://github.com/firecracker-microvm/firecracker/commit/3bf285c8f8a815149923c562dd7edaffcaf10c4e
6+
# and https://github.com/firecracker-microvm/firecracker/issues/2102
37
default-members = ["src/clippy-tracing", "src/cpu-template-helper", "src/firecracker", "src/rebase-snap", "src/seccompiler", "src/snapshot-editor", "src/acpi-tables"]
48
resolver = "2"
59

0 commit comments

Comments
 (0)