aboutsummaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-22 16:04:54 +0700
committerShulhan <ms@kilabit.info>2023-12-22 16:05:24 +0700
commitf03c271e19f4b417a21515048fd026ddb5dff47e (patch)
tree37b2a70caecb17c14a89713a25e46aadc66ce128 /go.mod
parent9b3597f1aaf886e5489b230ae428b2692f9d6f56 (diff)
downloadawwan-f03c271e19f4b417a21515048fd026ddb5dff47e.tar.xz
all: support cancellation when running command using SSH client
This changes require us to replace golang.org/x/crypto with our fork, since the [ssh.Session.Run] with context is not available yet in upstream. Implements: https://todo.sr.ht/~shulhan/awwan/9
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod4
1 files changed, 3 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index d7ed685..b19d88a 100644
--- a/go.mod
+++ b/go.mod
@@ -8,7 +8,7 @@ go 1.20
require (
git.sr.ht/~shulhan/ciigo v0.11.0
github.com/evanw/esbuild v0.19.8
- github.com/shuLhan/share v0.51.1-0.20231222030113-7a63c70fb199
+ github.com/shuLhan/share v0.51.1-0.20231222082140-8932e7ab20fc
)
require (
@@ -24,6 +24,8 @@ require (
replace github.com/evanw/esbuild => github.com/shuLhan/esbuild v0.19.9-0.20231209212032-2dc984ffc5f1
+replace golang.org/x/crypto => git.sr.ht/~shulhan/go-x-crypto v0.17.1-0.20231222080754-445dd75cd339
+
//replace github.com/shuLhan/share => ../share
//replace git.sr.ht/~shulhan/ciigo => ../ciigo