mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Cargo.toml: More publish preparation (#43457)
Add further missing repository keys / descriptions, which I missed in #43451 due to a suboptimal grep (assuming that rust-version.workspace is always the last item). Additionally fix crate self-references, which caused cargo-publish to fail, due to it trying to fetch the crate from crates.io. When specifying the current crate in `[dev-dependencies]` to enable a test feature or similar, apparently one should not use `workspace = true` and instead use `path`. This requires extending the previously added `tidy` check, to allow `path` dependencies in this specific case outside of the workspace Cargo.toml. Testing: Covered by existing tests --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
committed by
GitHub
parent
56e79459f2
commit
a6b479d2cc
12
python/tidy/tests/path_dependency/self-reference.Cargo.toml
Normal file
12
python/tidy/tests/path_dependency/self-reference.Cargo.toml
Normal file
@@ -0,0 +1,12 @@
|
||||
[package]
|
||||
name = "test-package"
|
||||
version = "0.0.1"
|
||||
license = "MPL-2.0"
|
||||
publish = false
|
||||
|
||||
[features]
|
||||
test-feature = []
|
||||
|
||||
[dev-dependencies]
|
||||
test-package = { path = "." }
|
||||
other-name = { package = "test-package", path = "."}
|
||||
Reference in New Issue
Block a user