-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathCargo.toml
More file actions
147 lines (121 loc) · 3.02 KB
/
Cargo.toml
File metadata and controls
147 lines (121 loc) · 3.02 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
138
139
140
141
142
143
144
145
146
147
[workspace]
members = [
"src/crates/events",
"src/crates/core",
"src/crates/transport",
"src/crates/api-layer",
"src/apps/cli",
"src/apps/desktop",
"src/apps/server",
"src/apps/relay-server",
]
exclude = [
"BitFun-Installer/src-tauri",
]
resolver = "2"
# Shared package metadata — single source of truth for version
[workspace.package]
version = "0.1.1" # x-release-please-version
authors = ["BitFun Team"]
edition = "2021"
# Shared dependency versions to keep all crates aligned
[workspace.dependencies]
# Async runtime
tokio = { version = "1.0", features = ["full"] }
tokio-stream = "0.1"
tokio-util = "0.7"
async-trait = "0.1"
futures = "0.3"
futures-util = "0.3"
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Logging
log = "0.4"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Utilities
uuid = { version = "1.0", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde", "clock"] }
regex = "1.10"
base64 = "0.21"
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "gif", "webp", "bmp"] }
md5 = "0.7"
once_cell = "1.19.0"
lazy_static = "1.4"
dashmap = "5.5"
indexmap = "2.6"
num_cpus = "1.16"
include_dir = "0.7.4"
# HTTP client
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-native-roots", "json", "stream", "multipart"] }
# Debug Log HTTP Server
axum = { version = "0.7", features = ["json", "ws"] }
tower-http = { version = "0.6", features = ["cors", "fs"] }
# File system
glob = "0.3"
ignore = "0.4"
notify = "6.1"
dirs = "5.0"
dunce = "1.0.5"
filetime = "0.2"
zip = "0.6" # plugin load
flate2 = "1.0"
toml = "0.8"
# Git
git2 = { version = "0.18", default-features = false, features = ["https", "vendored-libgit2", "vendored-openssl"] }
# Terminal
portable-pty = "0.8"
vte = "0.15.0"
# Grep (search)
grep-searcher = "0.1"
grep-regex = "0.1"
globset = "0.4"
# SSE
eventsource-stream = "0.2.3"
# Command detection (cross-platform)
which = "8.0"
similar = "2.5"
urlencoding = "2.1"
# Tauri (desktop only)
tauri = { version = "2", features = [] }
tauri-plugin-opener = "2"
tauri-plugin-dialog = "2.6"
tauri-plugin-fs = "2"
tauri-plugin-log = "2"
tauri-build = { version = "2", features = [] }
# Windows-specific dependencies
win32job = "2.0"
# I18n internationalization
fluent-bundle = "0.15"
unic-langid = "0.9"
# Encryption (Remote Connect E2E)
x25519-dalek = { version = "2.0", features = ["static_secrets"] }
aes-gcm = "0.10"
sha2 = "0.10"
rand = "0.8"
# Device/Network info (Remote Connect)
mac_address = "1.1"
local-ip-address = "0.6"
hostname = "0.4"
# QR code generation
qrcode = "0.14"
# WebSocket client
tokio-tungstenite = { version = "0.21", features = ["native-tls"] }
[profile.dev]
incremental = true
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.release-fast]
inherits = "release"
lto = false
codegen-units = 16
strip = false
incremental = true