1
0
mirror of https://github.com/fluencelabs/rust-libp2p synced 2025-07-29 16:01:55 +00:00
Files
.cargo
.github
core
docs
architecture.svg
coding-guidelines.md
release.md
examples
identity
interop-tests
libp2p
misc
muxers
protocols
scripts
swarm
swarm-derive
swarm-test
transports
wasm-tests
.dockerignore
.editorconfig
.git-blame-ignore-revs
.gitignore
CHANGELOG.md
CONTRIBUTING.md
Cargo.lock
Cargo.toml
LICENSE
README.md
ROADMAP.md
SECURITY.md
clippy.toml
deny.toml
rust-libp2p/docs
Thomas Eizinger 996b5c8bd0 chore: leverage cargo's workspace inheritance
Previously, we would specify the version and path of our workspace dependencies in each of our crates. This is error prone as https://github.com/libp2p/rust-libp2p/pull/3658#discussion_r1153278072 for example shows. Problems like these happened in the past too.

There is no need for us to ever depend on a earlier version than the most current one in our crates. It thus makes sense that we manage this version in a single place.

Cargo supports a feature called "workspace inheritance" which allows us to share a dependency declaration across a workspace and inherit it with `{ workspace = true }`.

We do this for all our workspace dependencies and for the MSRV.

Resolves .

Pull-Request: .
2023-05-02 09:14:14 +00:00
..