summaryrefslogtreecommitdiff
path: root/tun/netstack/go.mod
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-01-21 00:24:01 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-21 00:25:02 +0100
commitfcc8ad05df75d73f10f9aaa1c468a11a66a48f87 (patch)
tree2f4144d6fcf387b5e887c956157e4f9d621c41a3 /tun/netstack/go.mod
parent1d4eb2727a3ad6086229f45354933e84d85fc4e3 (diff)
downloadwireguard-go-fcc8ad05df75d73f10f9aaa1c468a11a66a48f87.tar.gz
wireguard-go-fcc8ad05df75d73f10f9aaa1c468a11a66a48f87.zip
netstack: further sequester with own go.mod and go.sum
In order to avoid even the flirtation with passing on these dependencies to ordinary consumers of wireguard-go, this commit makes a new go.mod that's entirely separate from the root one. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun/netstack/go.mod')
-rw-r--r--tun/netstack/go.mod9
1 files changed, 9 insertions, 0 deletions
diff --git a/tun/netstack/go.mod b/tun/netstack/go.mod
new file mode 100644
index 0000000..0b4fbb1
--- /dev/null
+++ b/tun/netstack/go.mod
@@ -0,0 +1,9 @@
+module golang.zx2c4.com/wireguard/tun/netstack
+
+go 1.15
+
+require (
+ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b
+ golang.zx2c4.com/wireguard v0.0.20201118
+ gvisor.dev/gvisor v0.0.0-20210109011639-2fb7a49fea98
+)