go.mod,go.sum: bump dependencies

Bump golang/x/exp/shiny to use the specific module,
instead of using a single all-encompassing module.
This significantly reduces the number of packages in go.sum.

Unfortunately, this requires us to bump the go.mod language
version to 1.18, otherwise using `go mod tidy` and similar
tools will complain about incompatibility with module lookup
in Go 1.16. The code should still compile with 1.17.

Bump github.com/gioui/uax, which gets rid one additional unneeded
dependency and should also reduce the binary size.

Signed-off-by: Egon Elbre <egonelbre@gmail.com>
This commit is contained in:
Egon Elbre
2022-08-29 19:21:19 +03:00
committed by Elias Naur
parent 020eb27ff5
commit 276b7eefdd
2 changed files with 16 additions and 81 deletions
+6 -9
View File
@@ -1,20 +1,17 @@
module gioui.org
go 1.17
require (
golang.org/x/exp v0.0.0-20210722180016-6781d3edade3
golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c
)
go 1.18
require (
eliasnaur.com/font v0.0.0-20220124212145-832bb8fc08c3
gioui.org/cpu v0.0.0-20210817075930-8d6a761490d2
gioui.org/shader v1.0.6
github.com/benoitkugler/textlayout v0.1.1
github.com/gioui/uax v0.2.1-0.20220325163150-e3d987515a12
github.com/benoitkugler/textlayout v0.1.3
github.com/gioui/uax v0.2.1-0.20220819135011-cda973fac06d
github.com/go-text/typesetting v0.0.0-20220411150340-35994bc27a7b
golang.org/x/exp/shiny v0.0.0-20220827204233-334a2380cb91
golang.org/x/image v0.0.0-20220722155232-062f8c9fd539
golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64
)
require golang.org/x/text v0.3.7 // indirect