mirror of
https://github.com/luxfi/zapdb.git
synced 2026-10-30 15:12:20 +00:00
Backports the changes from #1706 and #1709 to the v2 branch of badger. For context, https://github.com/caddyserver/caddy uses https://github.com/smallstep/certificates which uses https://github.com/smallstep/nosql which uses badger. See smallstep/nosql#12 for the discussion. It's not currently viable for smallstep to upgrade from v2 to v3 of badger, so it would be nice to backport this zstd change to the v2 branch to remove the implicit (yet optional) CGO dependency on Caddy. I targeted the release/v2.2007 branch, I couldn't really see a more relevant branch to target, so I hope that's okay.
22 lines
730 B
AMPL
22 lines
730 B
AMPL
module github.com/dgraph-io/badger/v2
|
|
|
|
go 1.12
|
|
|
|
require (
|
|
github.com/cespare/xxhash v1.1.0
|
|
github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de
|
|
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2
|
|
github.com/dustin/go-humanize v1.0.0
|
|
github.com/golang/protobuf v1.3.1
|
|
github.com/golang/snappy v0.0.3
|
|
github.com/klauspost/compress v1.12.3
|
|
github.com/kr/pretty v0.1.0 // indirect
|
|
github.com/pkg/errors v0.8.1
|
|
github.com/spaolacci/murmur3 v1.1.0 // indirect
|
|
github.com/spf13/cobra v0.0.5
|
|
github.com/stretchr/testify v1.4.0
|
|
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
|
|
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb
|
|
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
|
|
)
|