Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
68 lines (59 loc) · 2.06 KB
/
Copy pathCargo.toml
File metadata and controls
68 lines (59 loc) · 2.06 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
[workspace]
members = [
"nodedb-studio",
]
resolver = "2"
[workspace.package]
version = "0.0.0-beta.1"
edition = "2024"
rust-version = "1.96"
license = "Apache-2.0"
authors = ["Biz Impulse Solutions Sdn. Bhd. and the NodeDB contributors"]
repository = "https://github.com/NodeDB-Lab/nodedb-studio"
homepage = "https://nodedb.dev"
[workspace.dependencies]
# Internal NodeDB crates. The `native` feature (real client transport) is
# enabled in the phase that first constructs a NativeClient — it drags in a
# TLS + C-toolchain build tree (tokio-rustls, aws-lc-rs, cmake), so it is not
# carried while the seam impl is an inert stub.
nodedb-client = "0.6"
nodedb-types = "0.6"
# Async
async-trait = "0.1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] }
# UI. The `router` feature re-exports the router through dioxus::prelude.
# Desktop only.
dioxus = { version = "0.7", features = ["desktop", "router"] }
# Test-only: render components to a string for render-level assertions.
dioxus-ssr = "0.7"
# Screenshot harness only (the `screenshots` feature, Linux). wry and tao
# already build both crates. The direct dependency exposes WebKitGTK's
# snapshot call and cairo's PNG writer.
webkit2gtk = "2.0"
cairo-rs = { version = "0.18", features = ["png"] }
# Serialization: derive on models and persisted workspace/preferences;
# sonic-rs for runtime JSON.
serde = { version = "1", features = ["derive"] }
sonic-rs = "0.5"
# Error handling / diagnostics
thiserror = "2.0"
tracing = "0.1"
[profile.dev]
debug = "line-tables-only"
# Strip symbol tables from dev/test binaries to keep target/ small. This
# unsymbolises ordinary dev builds; use `--profile debugging` for full symbols.
strip = true
[profile.dev.package."*"]
debug = false
[profile.debugging]
inherits = "dev"
debug = true
strip = false
# The screenshot build (`scripts/screenshots.sh`). Its own profile keeps the
# `screenshots` feature out of the dev binary's fingerprint, so switching
# between the two does not rebuild either.
[profile.capture]
inherits = "dev"
[profile.release]
lto = "thin"
strip = true