tpl/cast: Improve float

Make it support the new upstream rational number type in Exif.

See #12718
This commit is contained in:
Bjørn Erik Pedersen
2024-08-06 21:16:07 +02:00
parent c07e94fa6d
commit 10891f305e
3 changed files with 8 additions and 2 deletions

2
go.mod
View File

@@ -63,7 +63,7 @@ require (
github.com/rogpeppe/go-internal v1.12.0
github.com/sanity-io/litter v1.5.5
github.com/spf13/afero v1.11.0
github.com/spf13/cast v1.6.0
github.com/spf13/cast v1.7.0
github.com/spf13/cobra v1.8.1
github.com/spf13/fsync v0.10.1
github.com/spf13/pflag v1.0.5