mirror of
https://github.com/logos-messaging/go-multiaddr.git
synced 2026-01-02 13:03:11 +00:00
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.
11 lines
276 B
Go
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"
|
|
)
|