-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
executable file
·137 lines (114 loc) · 2.87 KB
/
Cargo.toml
File metadata and controls
executable file
·137 lines (114 loc) · 2.87 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[workspace]
members = [
"crates/mrsh-core",
"crates/mrsh-transfer",
"crates/mrsh-relay",
"crates/mrsh-server",
"crates/mrsh-client",
]
resolver = "2"
[workspace.package]
version = "1.4.1"
edition = "2024"
license = "MIT"
repository = "https://github.com/marcodelpin/mrsh"
[workspace.dependencies]
# Async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
rmp-serde = "1"
# TLS
rustls = { version = "0.23", features = ["ring"] }
tokio-rustls = "0.26"
rcgen = "0.13"
rustls-pemfile = "2"
# QUIC
quinn = "0.11"
# Crypto
ed25519-dalek = { version = "2", features = ["rand_core", "pkcs8", "pem", "zeroize"] }
ssh-key = { version = "0.6", features = ["ed25519", "std"] }
rand = "0.8"
sha2 = "0.10"
md-5 = "0.10"
totp-rs = { version = "5.7", features = ["gen_secret"] }
# Protobuf
prost = "0.13"
prost-build = "0.13"
# Date/time
chrono = { version = "0.4", features = ["serde"] }
time = "0.3"
# CLI
clap = { version = "4", features = ["derive"] }
# TUI
ratatui = "0.29"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
tracing-appender = "0.2"
# Error handling
anyhow = "1"
thiserror = "2"
# Workspace crates (internal)
mrsh-core = { path = "crates/mrsh-core" }
mrsh-transfer = { path = "crates/mrsh-transfer" }
mrsh-relay = { path = "crates/mrsh-relay" }
mrsh-server = { path = "crates/mrsh-server" }
mrsh-client = { path = "crates/mrsh-client" }
[package]
name = "mrsh"
version.workspace = true
edition.workspace = true
[[bin]]
name = "mrsh"
path = "src/main.rs"
[dependencies]
mrsh-core.workspace = true
mrsh-client.workspace = true
mrsh-relay.workspace = true
clap.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
tracing-appender.workspace = true
anyhow.workspace = true
chrono.workspace = true
serde_json.workspace = true
notify = { version = "7", default-features = false, features = ["macos_kqueue"] }
mrsh-server.workspace = true
quinn = { workspace = true, optional = true }
tokio-util = "0.7"
tokio-rustls.workspace = true
ed25519-dalek.workspace = true
ssh-key.workspace = true
rand.workspace = true
sha2.workspace = true
base64 = "0.22"
dirs = "5"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
nix = { version = "0.29", features = ["signal"] }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.61", features = ["Win32_System_Console", "Win32_UI_WindowsAndMessaging", "Win32_Storage_FileSystem"] }
[features]
quic = ["mrsh-server/quic", "mrsh-client/quic", "quinn"]
no-toast = []
no-exec = []
no-shell = []
no-reboot = []
no-screenshot = []
no-self-update = []
no-clipboard = []
no-relay = []
read-only = ["no-exec", "no-shell"]
[dev-dependencies]
tempfile = "3"
[build-dependencies]
winres = "0.1"
[profile.release]
lto = true
opt-level = "z"
strip = true
codegen-units = 1
panic = "abort"