1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-17 14:37:02 +00:00
Files
go-chasquid-smtp/go.mod
Alberto Bertogli 5c09138db8 chasquid-util: Remove dependency on docopt-go
The docopt-go library is quite convenient, but it has been abandoned for
a while :(

Since we only use it for chasquid-util, this patch removes it and
replaces it with a custom small parser, that is a reasonable fit for the
required use cases.

The patch also adds a couple of tests to increase coverage.

NOTE: docopt-go accepted some undocumented behaviour, in particular the
use of "-a b" instead of "-a=b". The new parser does not, so some
user scripts may require updating.

I think this should be rare enough not to be worth the complexity of
adjusting the parser to allow it.
2021-01-16 23:21:35 +00:00

16 lines
389 B
Modula-2

module blitiri.com.ar/go/chasquid
go 1.13
require (
blitiri.com.ar/go/log v1.1.0
blitiri.com.ar/go/spf v1.1.1
blitiri.com.ar/go/systemd v1.1.0
github.com/golang/protobuf v1.4.2
github.com/google/go-cmp v0.4.0
golang.org/x/crypto v0.0.0-20200510223506-06a226fb4e37
golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2
golang.org/x/text v0.3.2
google.golang.org/protobuf v1.23.0
)