radicle-dev / radicle-surf

A code browsing library for VCS file systems.
Other
32 stars 11 forks source link

Depend on workspace version of crates #178

Closed xla closed 3 years ago

xla commented 3 years ago

While we want to be able to publish to crates.io we also want to enable usage of workspace versions of crates when developing, for that we need to add the path key as well as the version to in the Cargo.toml:

https://github.com/radicle-dev/radicle-surf/blob/883f8d243cca35035d0d1ff076992b302aa0ac0c/source/Cargo.toml#L27-L29

FintanH commented 3 years ago

Do you know if that's possible? :thinking:

xla commented 3 years ago

https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#multiple-locations

FintanH commented 3 years ago

Awesome :) Their example isn't that clear :sweat_smile: