From 98fe6924ffad34afef3be56377858fe87afbdfa0 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 27 Oct 2022 09:34:50 +1100 Subject: 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. --- go.mod | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'go.mod') 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 ) -- cgit v1.2.3