mirror of
https://github.com/rust-lang/book.git
synced 2026-05-17 02:40:45 -04:00
The `trpl`, `mdbook-trpl-note`, and `mdbook-trpl-listing` crates should *never* be part of a host workspace: neither in `rust-lang/book` nor in `rust-lang/rust`. They are always built as independent packages, so they do not end up depending implicitly on the host’s workspace dependencies. Accordingly, opt out by setting an empty `[workspace]` key in each of the packages' `Cargo.toml` files so that they do not have to be configured in both places they might be used.
19 lines
478 B
TOML
19 lines
478 B
TOML
[workspace]
|
|
members = ["packages/tools"]
|
|
default-members = ["packages/tools"]
|
|
resolver = "2"
|
|
exclude = [
|
|
"linkchecker", # linkchecker is part of the CI workflow
|
|
"listings", # these are intentionally distinct from the workspace
|
|
"tmp", # listings are built here when updating output via tools/update-rustc.sh
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
walkdir = "2.3.1"
|
|
docopt = "1.1.0"
|
|
serde = "1.0"
|
|
regex = "1.3.3"
|
|
lazy_static = "1.4.0"
|
|
flate2 = "1.0.13"
|
|
tar = "0.4.26"
|