forked from frkdrgt/ferox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
74 lines (57 loc) · 1.68 KB
/
Cargo.toml
File metadata and controls
74 lines (57 loc) · 1.68 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
[package]
name = "ferox"
version = "0.1.0"
edition = "2021"
description = "Blazing-fast lightweight PostgreSQL client built in Rust"
authors = []
[[bin]]
name = "ferox"
path = "src/main.rs"
[dependencies]
# GUI — accesskit (screen-reader support) disabled to save RAM
eframe = { version = "0.27", default-features = false, features = ["glow", "default_fonts"] }
egui = { version = "0.27", default-features = false, features = ["default_fonts"] }
egui_extras = { version = "0.27", default-features = false }
# PostgreSQL — type-conversion features not needed (simple_query returns plain strings)
tokio-postgres = { version = "0.7" }
native-tls = "0.2"
postgres-native-tls = "0.5"
# Async runtime — rt-multi-thread not needed; DB worker uses its own current_thread rt
tokio = { version = "1", features = ["rt", "macros", "sync", "time"] }
# Config / serialization
serde = { version = "1", features = ["derive"] }
toml = "0.8"
serde_json = "1"
# Error handling
anyhow = "1"
thiserror = "1"
# Native file dialog
rfd = "0.14"
# SSH tunnel
russh = "0.44"
russh-keys = "0.44"
async-trait = "0.1"
# Icon loading
image = { version = "0.24", default-features = false, features = ["png"] }
# Utilities
chrono = { version = "0.4", features = ["serde"] }
dirs = "5"
hex = "0.4"
sqlformat = "0.2"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = "abort"
[profile.dev]
opt-level = 1
[dev-dependencies]
tokio-test = "0.4"
# Build deps — icon generation
[build-dependencies]
image = { version = "0.24", default-features = false, features = ["png"] }
ico = "0.3"
# Windows-only build deps (manifest + icon embedding)
[target.'cfg(windows)'.build-dependencies]
winresource = "0.1"