Update go-multihash.
You can't see it from here, but go-mulithash now uses registry system, so it's reasonably possible to introduce new hashers, and to use (some parts of!) go-multihash without bringing in lots of transitive dependencies. The main package of go-multihash still brings in everything transitively that it did before, so go-cid's transitives aren't shrinking, and no code is changing here... but it's closer. If we did cut over to the new go-mulithash/core, we could make many transitive dependencies become optional.
This commit is contained in:
2
go.mod
2
go.mod
@@ -2,7 +2,7 @@ module github.com/ipfs/go-cid
|
||||
|
||||
require (
|
||||
github.com/multiformats/go-multibase v0.0.3
|
||||
github.com/multiformats/go-multihash v0.0.14
|
||||
github.com/multiformats/go-multihash v0.0.15
|
||||
github.com/multiformats/go-varint v0.0.6
|
||||
golang.org/x/crypto v0.0.0-20210506145944-38f3c27a63bf // indirect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user