# Gopkg.toml example
|
|
#
|
|
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
|
|
# for detailed Gopkg.toml documentation.
|
|
#
|
|
# required = ["github.com/user/thing/cmd/thing"]
|
|
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
|
|
#
|
|
# [[constraint]]
|
|
# name = "github.com/user/project"
|
|
# version = "1.0.0"
|
|
#
|
|
# [[override]]
|
|
# name = "github.com/x/y"
|
|
# version = "2.4.0"
|
|
#
|
|
# [prune]
|
|
# non-go = false
|
|
# go-tests = true
|
|
# unused-packages = true
|
|
#
|
|
###########################################################
|
|
|
|
# Allow only patch releases for serialization libraries
|
|
[[constraint]]
|
|
name = "github.com/tendermint/go-amino"
|
|
version = "~0.14.1"
|
|
|
|
[[constraint]]
|
|
name = "github.com/gogo/protobuf"
|
|
version = "~1.2.1"
|
|
|
|
[[constraint]]
|
|
name = "github.com/golang/protobuf"
|
|
version = "~1.3.0"
|
|
|
|
# Allow only minor releases for other libraries
|
|
[[constraint]]
|
|
name = "github.com/go-kit/kit"
|
|
version = "^0.6.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/gorilla/websocket"
|
|
version = "^1.2.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/rs/cors"
|
|
version = "^1.6.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/pkg/errors"
|
|
version = "^0.8.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/spf13/cobra"
|
|
version = "^0.0.1"
|
|
|
|
[[constraint]]
|
|
name = "github.com/spf13/viper"
|
|
version = "^1.0.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/stretchr/testify"
|
|
version = "^1.2.1"
|
|
|
|
[[constraint]]
|
|
name = "google.golang.org/grpc"
|
|
version = "^1.13.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/fortytw2/leaktest"
|
|
version = "^1.2.0"
|
|
|
|
[[constraint]]
|
|
name = "github.com/prometheus/client_golang"
|
|
version = "^0.9.1"
|
|
|
|
# we use the secp256k1 implementation:
|
|
[[constraint]]
|
|
name = "github.com/ethereum/go-ethereum"
|
|
version = "^v1.8.21"
|
|
|
|
# Prevent dep from pruning build scripts and codegen templates
|
|
# note: this leaves the whole go-ethereum package in vendor
|
|
# can be removed when https://github.com/golang/dep/issues/1847 is resolved
|
|
[[prune.project]]
|
|
name = "github.com/ethereum/go-ethereum"
|
|
unused-packages = false
|
|
|
|
###################################
|
|
## Some repos dont have releases.
|
|
## Pin to revision
|
|
|
|
[[constraint]]
|
|
name = "github.com/btcsuite/btcd"
|
|
revision = "ed77733ec07dfc8a513741138419b8d9d3de9d2d"
|
|
|
|
[[constraint]]
|
|
name = "golang.org/x/crypto"
|
|
revision = "505ab145d0a99da450461ae2c1a9f6cd10d1f447"
|
|
|
|
[[override]]
|
|
name = "github.com/jmhodges/levigo"
|
|
revision = "c42d9e0ca023e2198120196f842701bb4c55d7b9"
|
|
|
|
# last revision used by go-crypto
|
|
[[constraint]]
|
|
name = "github.com/btcsuite/btcutil"
|
|
revision = "d4cc87b860166d00d6b5b9e0d3b3d71d6088d4d4"
|
|
|
|
|
|
[[constraint]]
|
|
name = "github.com/rcrowley/go-metrics"
|
|
revision = "e2704e165165ec55d062f5919b4b29494e9fa790"
|
|
|
|
[[constraint]]
|
|
name = "golang.org/x/net"
|
|
revision = "292b43bbf7cb8d35ddf40f8d5100ef3837cced3f"
|
|
|
|
[prune]
|
|
go-tests = true
|
|
unused-packages = true
|