-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (58 loc) · 1.84 KB
/
Copy pathCargo.toml
File metadata and controls
60 lines (58 loc) · 1.84 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
[workspace]
resolver = "2"
members = [
"crates/firment-core",
"crates/firment-tools",
"crates/firment-tui",
"crates/firment-cli",
]
[workspace.package]
version = "0.8.1"
edition = "2024"
rust-version = "1.85"
license = "MIT"
[workspace.dependencies]
anyhow = "1"
arboard = "3"
async-stream = "0.3"
async-trait = "0.1"
clap = { version = "4", features = ["derive"] }
clap_complete = "4"
crossterm = "0.28"
chrono = "0.4"
dirs = "5"
futures = "0.3"
globset = "0.4"
ignore = "0.4"
image = "0.25"
object = "0.36"
ratatui = "0.29"
serialport = "4"
sha2 = "0.10"
regex = "1"
# native-tls over rustls: rustls refuses TLS renegotiation, and
# proxy/SSL-interception middleboxes (Clash, corporate inspection) trigger
# exactly that — reqwest then reports a bare "error sending request" with no
# way in. native-tls uses the OS stack (Schannel/Security.framework/OpenSSL),
# which handles renegotiation AND trusts CA certs the user installed for
# their proxy. The extra features restore what default-features=false drops:
# charset (.text() decoding — GBK pages), http2, macOS system-proxy detection
# (GUI launched from Finder has no shell env), and socks proxies.
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "native-tls", "charset", "http2", "macos-system-configuration", "socks"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tempfile = "3"
thiserror = "2"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "process", "io-util", "sync"] }
toml = "0.8"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
unicode-width = "0.2"
uuid = { version = "1", features = ["v4"] }
winreg = "0.55"
windows-sys = { version = "0.59", features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_UI_WindowsAndMessaging",
] }
wiremock = "0.6"