dep: add "codependencies" for handling version conflicts
This patch adds a special, internal, "codependencies" package that allows us to specify minimum required versions for modules we don't directly depend on. Downside: * Anyone using this module will also have to download these deprecated modules. Upside: * After upgrading this module, all "codependencies" will automatically be upgraded to compatible versions. * If unused, codependencies will _not_ end up bloating the binary size. This is because "usage" is computed at the import/package layer, while module version requirements are computed at the module layer.
Showing
... | @@ -4,6 +4,8 @@ go 1.13 | ... | @@ -4,6 +4,8 @@ go 1.13 |
require ( | require ( | ||
github.com/ipfs/go-cid v0.0.7 | github.com/ipfs/go-cid v0.0.7 | ||
github.com/libp2p/go-maddr-filter v0.1.0 | |||
github.com/multiformats/go-multiaddr-net v0.2.0 | |||
github.com/multiformats/go-multihash v0.0.14 | github.com/multiformats/go-multihash v0.0.14 | ||
github.com/multiformats/go-varint v0.0.6 | github.com/multiformats/go-varint v0.0.6 | ||
) | ) |
Please register or sign in to comment