aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorMatt Joiner <anacrolix@gmail.com>2022-10-27 09:34:50 +1100
committerMatt Joiner <anacrolix@gmail.com>2022-10-27 09:34:50 +1100
commit98fe6924ffad34afef3be56377858fe87afbdfa0 (patch)
tree5fefaee494505ed310b95f0122e7225f725e5695 /go.mod
parentMerge pull request #4 from chrismwendt/generics (diff)
downloadstm-98fe6924ffad34afef3be56377858fe87afbdfa0.tar.gz
stm-98fe6924ffad34afef3be56377858fe87afbdfa0.tar.xz
Mostly fix compatibility with immutable v0.4.0
List has to be dropped because type aliases are not allowed for generic types. There's an outstanding issue that Set can't contain pointer values. https://github.com/benbjohnson/immutable/issues/25 I would abandon this package altogether, but there's no Set type in immutable, and its comparer and hasher types are more boilerplate than I want.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod19
1 files changed, 11 insertions, 8 deletions
diff --git a/go.mod b/go.mod
index ed11f22..5c2b32a 100644
--- a/go.mod
+++ b/go.mod
@@ -3,17 +3,20 @@ module github.com/anacrolix/stm
go 1.18
require (
- github.com/anacrolix/envpprof v1.0.0
- github.com/anacrolix/missinggo v1.1.0
- github.com/anacrolix/missinggo/v2 v2.2.0
- github.com/benbjohnson/immutable v0.2.0
- github.com/stretchr/testify v1.3.0
+ github.com/alecthomas/atomic v0.1.0-alpha2
+ github.com/anacrolix/envpprof v1.1.0
+ github.com/anacrolix/missinggo v1.3.0
+ github.com/anacrolix/missinggo/v2 v2.7.1
+ github.com/benbjohnson/immutable v0.4.0
+ github.com/stretchr/testify v1.4.0
+ golang.org/x/exp v0.0.0-20221026004748-78e5e7837ae6
)
require (
- github.com/alecthomas/atomic v0.1.0-alpha2
- github.com/bradfitz/iter v0.0.0-20190303215204-33e6a9893b0c // indirect
+ github.com/anacrolix/log v0.6.0 // indirect
+ github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
- github.com/huandu/xstrings v1.2.0 // indirect
+ github.com/huandu/xstrings v1.3.2 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
+ gopkg.in/yaml.v2 v2.2.5 // indirect
)