JoshOrndorff / recipes

A Hands-On Cookbook for Aspiring Blockchain Chefs
GNU General Public License v3.0
376 stars 186 forks source link

Single source of Substrate dependencies #365

Open JoshOrndorff opened 3 years ago

JoshOrndorff commented 3 years ago

Currently each crate in the recipes imports its dependencies directly from crates.io This is tedious because when updating the recipes, we have to make the same changes over and over. Further it makes it possible for different recipes to accidentally depend on different upstream Substrate versions.

The best solution I have in mind so far is a crate that depends on all the necessary Substrate stuff and re-exports it. Then the rest of the recipes crates import from this special crate.