-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
67 lines (62 loc) · 2.01 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
[package]
name = "csync"
version = "0.5.1"
edition = "2021"
build = "build.rs"
license = "MIT"
authors = ["fioncat"]
categories = ["command-line-utilities"]
readme = "README.md"
repository = "https://github.com/fioncat/csync"
description = "Share your clipboard between different devices"
[features]
# On some machines, particularly those running only server applications without a graphical
# interface environment, users need to install libwebkit to run csync, even though this
# library will never be used (as these machines won't utilize the tray functionality).
# Therefore, we provide a minimal compilation option that excludes GUI-related code from
# csync, resulting in a minimized version suitable for running on servers without GUI
# tools (tray).
# Minimal compilation: cargo build --release --locked --no-default-features
default = ["tray"]
tray = ["dep:tauri", "dep:tauri-plugin-shell", "dep:tauri-build"]
[dependencies]
actix-web = { version = "4.9", features = ["openssl"] }
aes-gcm = "0.10"
anyhow = "1.0"
async-trait = "0.1"
base64 = "0.22"
chrono = "0.4"
clap = { version = "4.5", features = ["derive"] }
console = "0.15"
fern = { version = "0.7", features = ["colored"] }
file-lock = "2.1"
humantime = "2.1"
jsonwebtoken = "9.3"
libc = "0.2"
log = "0.4"
openssl = "0.10"
pad = "0.1"
pbkdf2 = "0.12"
rand = "0.8"
reqwest = { version = "0.12", features = ["json"] }
rusqlite = { version = "0.33", features = ["bundled"] }
sd-notify = "0.4"
serde = {version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
shellexpand = "3.1"
tauri = { version = "2.2", features = ["tray-icon"], optional = true }
tauri-plugin-shell = { version = "2.2", optional = true }
thiserror = "2.0"
tokio = { version = "1.43", features = ["full"] }
toml = "0.8"
[dev-dependencies]
once_cell = "1.20"
[build-dependencies]
simple-error = "0.3"
tauri-build = { version = "2.0", features = [], optional = true }
vergen = { version = "9.0", features = ["build", "rustc", "cargo", "si"] }
[profile.release]
lto = true
strip = true
incremental = false