summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2023-02-19 13:01:18 -0500
committerYureka <yuka@yuka.dev>2023-03-18 20:34:59 +0100
commit5686f0064d5f36e7f39984ea9232b42c1104bf1e (patch)
tree19ccb18b60d580d325bfa6191d2bc4325c598fa6 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parent7c7d4f615f7ec2b91bca9a1b52a2a5d26fccb626 (diff)
rustPlatform.importCargoLock: add support for git dependencies that use workspace inheritance
Rust 1.64.0 added support for workspace inheritance, which allows for crates to inherit values such as dependency version constraints or package metadata information from their workspaces [0]. This works by having workspace members specify a value as a table, with `workspace` set to true. Thus, supporting this in importCargoLock is as simple as walking the crate's Cargo.toml, replacing inherited values with their workspace counterpart. This is also what a forthcoming Cargo release will do for `cargo vendor` [1], but we can get ahead of it ;) [0]: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html#cargo-improvements-workspace-inheritance-and-multi-target-builds [1]: https://github.com/rust-lang/cargo/pull/11414
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions