crane/pkgs/crane-utils/Cargo.toml
Ivan Petkov 00564437f3
Properly handle workspace inheritance in git dependencies (#224)
Crates from git repos are vendored in a flattened directory where each crate shows up at the root of the vendor directory. Since the vendoring step effectively breaks workspace structures, any crates which use workspace inheritance (e.g. package.version.workspace = true will fail to resolve.

To work around this we inspect the crate's workspace manifest (if it exists) and attempt to manually merge the values while copying the contents to the vendor directory.
2023-01-21 16:46:32 -08:00

15 lines
286 B
TOML

[package]
name = "crane-utils"
version = "0.1.0"
edition = "2021"
publish = false
[dependencies]
anyhow = "1"
serde_json = "1"
serde = { version = "1", features = ["derive"] }
toml = { version = "0.5.11", features = ["preserve_order"] }
[dev-dependencies]
pretty_assertions = "1.3.0"