Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
124 lines (112 loc) · 5.01 KB
/
Copy pathCargo.toml
File metadata and controls
124 lines (112 loc) · 5.01 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
[workspace]
resolver = "2"
members = ["crates/*", "apps/*"]
[workspace.package]
version = "0.7.0"
edition = "2021"
rust-version = "1.99"
license = "GPL-3.0-only"
# Spec 0090, A12 (Dependency-Prüfung): keine dieser Crates wird auf crates.io
# veröffentlicht. Macht `[licenses.private] ignore = true` in `deny.toml`
# wirksam, damit cargo-deny die eigene Projektlizenz nicht gegen die
# Drittanbieter-Allow-Liste prüft.
publish = false
# Issue #897: every third-party crate used by two or more workspace crates is
# pinned here once; crates inherit it with `name = { workspace = true }` and
# add only their own `features`/`optional`. `default-features = false` lives
# here (a crate cannot switch default features off again). Guarded by
# scripts/check-workspace-deps.mjs (run by `npm run lint`).
[workspace.dependencies]
async-trait = { version = "0.1.92" }
base64 = { version = "0.23.1" }
chrono = { version = "0.4.45" }
iana-time-zone = { version = "0.1.65", default-features = false }
directories = { version = "6.0.0" }
futures = { version = "0.3.34" }
globset = { version = "0.4.20" }
libc = { version = "0.2.189" }
proptest = { version = "1" }
rand = { version = "0.10.2" }
regex = { version = "1.13.1" }
reqwest = { version = "0.13.4", default-features = false }
russh = { version = "0.63.1", features = ["des"] }
russh-sftp = { version = "2.4.0" }
secrecy = { version = "0.10.3" }
serde = { version = "1.0.229" }
serde_json = { version = "1.0.151" }
sha2 = { version = "0.11.0" }
tauri = { version = "2" }
tauri-plugin-decoration = { version = "3.0" }
tauri-plugin-dialog = { version = "2.7.3" }
tauri-plugin-fs = { version = "2" }
tauri-plugin-notification = { version = "2" }
tauri-plugin-opener = { version = "2.5.5" }
tauri-plugin-os = { version = "2" }
tauri-plugin-store = { version = "2" }
tempfile = { version = "3.27.0" }
thiserror = { version = "2.0" }
ts-rs = { version = "12.0.1", default-features = false, features = ["serde-compat","chrono-impl","uuid-impl","serde-json-impl","no-serde-warnings"] }
tokio = { version = "1.53.1" }
tokio-util = { version = "0.7.19" }
toml = { version = "1.1.4" }
tracing = { version = "0.1.44" }
tracing-subscriber = { version = "0.3.23" }
unicode-normalization = { version = "0.1.25" }
uuid = { version = "1.26.0" }
zeroize = { version = "1.9.0" }
# Internal path dependencies (version pins must match [workspace.package]).
ai-providers = { version = "0.7.0", path = "crates/ai-providers" }
app-logic = { version = "0.7.0", path = "crates/app-logic" }
app-shell = { version = "0.7.0", path = "crates/app-shell" }
credentials-keyring = { version = "0.7.0", path = "crates/credentials-keyring" }
mcp-server = { version = "0.7.0", path = "crates/mcp-server" }
persistence-sqlite = { version = "0.7.0", path = "crates/persistence-sqlite" }
speech = { version = "0.7.0", path = "crates/speech" }
ssh-manager-core = { version = "0.7.0", path = "crates/core" }
ssh-transport = { version = "0.7.0", path = "crates/ssh-transport" }
tauri-plugin-android-host = { version = "0.7.0", path = "crates/tauri-plugin-android-host" }
tls-config = { version = "0.7.0", path = "crates/tls-config" }
# Spec 0101, A14: Argon2id rechnet absichtlich teuer (m = 64 MiB, t = 3).
# Unoptimiert dauert ein einzelner Durchlauf gut zwei Sekunden statt rund
# 90 ms — das trifft `cargo test` (die Tests zu T13/T15 verpacken und
# entpacken mehrfach) und ebenso jedes Entsperren in einem Entwicklungsbau.
# Diese zwei Pakete werden deshalb auch im Debug-Profil optimiert gebaut;
# der eigene Code bleibt unoptimiert und damit debugbar.
[profile.dev.package.argon2]
opt-level = 3
[profile.dev.package.blake2]
opt-level = 3
# Issue #253: The filter engine compiles its glob/regex patterns on every
# match. Unoptimised, one evaluation costs tens of milliseconds, which makes
# the property tests (hundreds of evaluations each) take half a minute. The
# pattern libraries are built optimised in the dev/test profile; own code
# stays unoptimised.
[profile.dev.package.regex]
opt-level = 3
[profile.dev.package.regex-automata]
opt-level = 3
[profile.dev.package.regex-syntax]
opt-level = 3
[profile.dev.package.globset]
opt-level = 3
# Issue #890: one lint table for all crates (each crate has `[lints] workspace = true`).
[workspace.lints.rust]
unsafe_code = "deny"
[workspace.lints.clippy]
unwrap_used = "deny"
await_holding_lock = "deny"
dbg_macro = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
# Issue #896: new overlong/complex functions are flagged; existing ones carry
# #[expect(.., reason)] (count ratcheted by crates/core/tests/lint_exception_guard.rs).
too_many_lines = "warn"
cognitive_complexity = "warn"
large_futures = "warn"
# Temporary (issue #1228): russh decodes the USERAUTH_BANNER message with a
# strict UTF-8 `String` decode, so a server banner with invalid UTF-8 aborts
# the login. `vendor/russh` is russh 0.63.2 with the banner decoded lossily
# (see vendor/russh/PATCH.md). Drop this section once a russh release contains
# the fix (upstream change: decode the banner via `String::from_utf8_lossy`).
[patch.crates-io]
russh = { path = "vendor/russh" }