mario-eth / soldeer

Solidity Package Manager written in rust
MIT License
175 stars 18 forks source link

Support multiple versions of the same dependency #34

Open mario-eth opened 5 months ago

mario-eth commented 5 months ago

In order to respect the Cargo.toml format for now the dependency name is used as key in the config file. In the future we must implement something like this:

libv1 = { version = "1", package = "lib" }
libv2 = { version = "2", package = "lib" }

Example https://github.com/TheDan64/inkwell/blob/69c5a3fcc3e8b997c36e20021c52adcff664d746/Cargo.toml#L129-L150