Open nuke-web3 opened 3 years ago
Hello! I would like to contribute to this task by creating detailed documentation on managing dependencies in Substrate projects, including best practices for working with Cargo.toml and Cargo.lock. I plan to cover dependency versioning issues and provide guidelines on updating dependencies with cargo update. Please let me know if you have any specific requirements or suggestions before I start.
Thank you!
We need a dedicated place on devhub outlining how to navigate "dependency hell" in Substrate, as versioning is the primary issue for most if you are not careful.
Cargo.lock
. But scan the lockfile for multiple versions of the same deps (need to fix this withcargo update
after setting version & deps repo correctly)cargo update -p foo --precise 1.2.3