Steven Allen 6be5442314 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.
2020-08-20 13:37:36 -07:00

11 lines
276 B
Go

package codependencies
import (
// Packages imported into this package.
// go-multiaddr-net < 0.2.0 conflict with this package.
_ "github.com/multiformats/go-multiaddr-net"
// go-maddr-filter < 0.1.0 conflicts with this package.
_ "github.com/libp2p/go-maddr-filter"
)