# 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.1.1"
|
|
|
|
[[constraint]]
|
|
name = "github.com/golang/protobuf"
|
|
version = "~1.1.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"
|
|
|
|
###################################
|
|
## Some repos dont have releases.
|
|
## Pin to revision
|
|
|
|
[[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/tendermint/btcd"
|
|
revision = "e5840949ff4fff0c56f9b6a541e22b63581ea9df"
|
|
|
|
[[constraint]]
|
|
name = "github.com/rcrowley/go-metrics"
|
|
revision = "e2704e165165ec55d062f5919b4b29494e9fa790"
|
|
|
|
[[constraint]]
|
|
name = "golang.org/x/net"
|
|
revision = "292b43bbf7cb8d35ddf40f8d5100ef3837cced3f"
|
|
|
|
[prune]
|
|
go-tests = true
|
|
unused-packages = true
|