-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
75 lines (71 loc) · 1.89 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[package]
name = "ant-rs"
description = "Another Network Tunnel; A simple program for local/remote port forwarding over a SSH tunnel."
version = "0.1.8"
edition = "2021"
authors = ["Hendrik Böck <hendrikboeck.dev@protonmail.com>"]
license-file = "LICENSE"
repository = "https://github.com/hendrikboeck/ant-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
chrono = "0.4"
colored = "2"
env_logger = "0.10"
log = "0.4"
clap = { version = "4", features = ["derive"] }
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
exitcode = "1"
directories = "5"
tokio = { version = "1", features = [
"macros",
"rt-multi-thread",
"process",
"time",
] }
ctrlc = "3"
once_cell = "1"
which = "4"
[package.metadata.deb]
assets = [
[
"target/release/ant-rs",
"usr/bin/ant-rs",
"755",
],
[
"README.md",
"usr/share/doc/ant-rs/README",
"644",
],
[
"res/ant-rs.man",
"usr/share/man/man8/ant-rs.8",
"644",
],
[
"res/ant.systemd.yaml",
"etc/ssh/ant.yaml",
"644",
],
[
"res/ant-rs-daemon.service",
"usr/lib/systemd/system/ant-rs-daemon.service",
"644",
],
]
maintainer = "Hendrik Böck <hendrikboeck.dev@protonmail.com>"
copyright = "2023, Hendrik Böck <hendrikboeck.dev@protonmail.com>"
depends = "$auto"
section = "utility"
priority = "optional"
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/ant-rs", dest = "/usr/bin/ant-rs", mode = "755" },
{ source = "README.md", dest = "/usr/share/doc/ant-rs/README", mode = "644" },
{ source = "res/ant-rs.man", dest = "/usr/share/man/man8/ant-rs.8", mode = "644" },
{ source = "res/ant.systemd.yaml", dest = "/etc/ssh/ant.yaml", mode = "644" },
{ source = "res/ant-rs-daemon.service", dest = "/usr/lib/systemd/system/ant-rs-daemon.service", mode = "644" },
]
license = "GPL-3.0-or-later"
auto-req = "auto"