-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inherit workspace dependency #994
Comments
@ggwpez It's nice to have everything in one place. Especially with none substrate/cumulus/polkadot dependencies. We for example had a different version for the same dependency in all crates. This doesn't happen anymore. The only downside I noticed is that the feature management is somewhat unclear. You now have to check two places to be sure about which features are enabled for a crate. |
Thanks for the reply! We probably want to do this after the mono-repo migration, I assume. |
We do not really have enough dependencies for this, but hey.. via https://github.com/paritytech/substrate/issues/13859
Yeah no reason to slow down the mono-repo switch to wait for this and I think it will be nicer to do once we're all in one workspace. Jan said there were a couple of crates that absolutely had to be the same version or things didn't work (wasmtime might have been one?). |
* Use correct block gas limit * Format ts * Force push to fix ci * Fix conflicts * Format
Changes (partial #994): - Set log to `0.4.20` everywhere - Lift `log` to the workspace Starting with a simpler one after seeing #2065 from @jsdw. This sets the `default-features` to `false` in the root and then overwrites that in each create to its original value. This is necessary since otherwise the `default` features are additive and its impossible to disable them in the crate again once they are enabled in the workspace. I am using a tool to do this, so its mostly a test to see that it works as expected. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Changes (partial paritytech#994): - Set log to `0.4.20` everywhere - Lift `log` to the workspace Starting with a simpler one after seeing paritytech#2065 from @jsdw. This sets the `default-features` to `false` in the root and then overwrites that in each create to its original value. This is necessary since otherwise the `default` features are additive and its impossible to disable them in the crate again once they are enabled in the workspace. I am using a tool to do this, so its mostly a test to see that it works as expected. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Done |
Try out what Kilt did and use workspace dependencies to ease the version managment.
Example Cargo.toml and Workspace.
quote @bkchr
Any known downsides with this @weichweich?
The text was updated successfully, but these errors were encountered: