bytecodealliance / bytecodealliance/cargo-component
Support multiple target dependencies with the same package id but different versions.
- Dominant language
- Rust
- Stars
- 593
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
Currently target dependencies are specified through a map where the key is the `package:name` package id. However, multiple dependencies can have the same id if they are of different versions. It seems it is currently impossible to satisfy two dependencies if they have the same `package:name` identifier.
I'm not sure the right way to solve this issue. Cargo component models dependencies as a `HashMap` where the keys are `PackageId`s, but there might be more than one dependency with the same package id. It might seem that we would have to rethink how these dependencies are specified.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.