CH-J ToolsPalvelimen hallinta yli SSH
Valikko
Julkaistu lähde

CH-J Tools

Selaile hakemistoja ja tiedostoja tietyn sovelluksen julkaisua varten.

Lataa lähde ZIP
CH-J / Server Manager 1704 tiedostot
0.1.2-beta Lisätty: · Rakennettu:
Cargo.toml Lisätty: Kirjaamaton päivä 5,8 KB · 186 rivit
Koodi Lataa tiedosto
1[package]
2name = "ch-j-tools"
3version = "0.1.2"
4description = "CH-J Tools — desktop SSH/SFTP client and server manager (Rust + Tauri 2 core)."
5authors = ["Josef Chudy <josef@ch-j.de>"]
6license-file = "../legal/LICENSE"
7homepage = "https://sm.ch-j.de"
8edition = "2021"
9rust-version = "1.90"
10publish = false
11default-run = "ch-j-tools"
13[features]
14# Serve the bundled UI through the app protocol (tauri://localhost) also in `tauri dev`;
15# the window navigation policy accepts only bundled app pages, never a localhost dev server.
16custom-protocol = ["tauri/custom-protocol"]
17# Test-only UI automation (never enabled for release builds).
18smoke = ["dep:objc2", "dep:objc2-web-kit", "dep:objc2-app-kit", "dep:objc2-foundation", "dep:block2"]
20[lib]
21name = "chj_core"
22crate-type = ["rlib"]
24[[bin]]
25name = "ch-j-tools"
26path = "src/main.rs"
28# The CH-J-Standby-Helper is its own workspace package (standby-helper/), bundled by the release as externalBin.
29[workspace]
30members = ["standby-helper"]
32[build-dependencies]
33tauri-build = { version = "=2.7.4", features = [] }
34serde_json = "1"
36[dependencies]
37tauri = { version = "=2.12.5", features = ["image-png", "unstable"] }
38tauri-plugin-dialog = "=2.8.3"
39tauri-plugin-single-instance = "=2.5.4"
40tauri-plugin-updater = "=2.14.0"
41tauri-plugin-clipboard-manager = "2"
42tauri-plugin-opener = "2"
44serde = { version = "1", features = ["derive"] }
45serde_json = { version = "1", features = ["preserve_order"] }
46tokio = { version = "1", features = ["full"] }
47thiserror = "2"
48uuid = { version = "1", features = ["v4"] }
49rand = "0.8"
50base64 = "0.22"
51bytes = "1"
52hex = "0.4"
53regex = "1"
54once_cell = "1"
55parking_lot = "0.12"
56chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
57zeroize = "1"
58fs4 = { version = "0.13", features = ["sync"] }
59url = "2"
60futures = "0.3"
61tokio-util = "0.7"
62idna = "1"
63reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "http2"] }
64zip = { version = "2", default-features = false, features = ["deflate"] }
65tar = "0.4"
66indexmap = "2"
68# Diagnostics
69hickory-resolver = { version = "0.25", default-features = false, features = ["system-config", "tokio"] }
70rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12", "logging"] }
71tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12"] }
72rustls-pemfile = "2"
73webpki-roots = "1"
74x509-parser = { version = "0.17", features = ["verify"] }
75flate2 = "1"
76brotli = "8"
77zstd = "0.13"
79# Key Generator (RustCrypto, PKCS#8 interoperable with OpenSSL/OpenSSH)
80rsa = { version = "0.9", features = ["std"] }
81p256 = { version = "0.13", features = ["ecdsa", "pkcs8"] }
82p384 = { version = "0.13", features = ["ecdsa", "pkcs8"] }
83p521 = { version = "0.13", features = ["ecdsa", "pkcs8"] }
84ed25519-dalek = { version = "2", features = ["pkcs8", "rand_core"] }
85dsa = "0.6"
86pkcs8 = { version = "0.10", features = ["encryption", "pem", "std"] }
87pkcs5 = { version = "0.7", features = ["pbes2"] }
88num-bigint-dig = "0.8"
90# Hash & Checksum (local files; same 49 algorithms as 0.1.0)
91digest = "0.10"
92sha3 = "0.10"
93blake2 = "0.10"
94blake3 = { version = "1", default-features = false, features = ["std"] }
95k12 = "0.3"
96ripemd = "0.1"
97whirlpool = "0.10"
98tiger = "0.2"
99md-5 = "0.10"
100xxhash-rust = { version = "0.8", features = ["xxh32", "xxh64", "xxh3"] }
101highway = "1"
102crc = "3"
103adler = "1"
105# Update trust (OpenPGP detached signatures, SHA-512)
106pgp = { version = "=0.21.0", features = ["pqc"] }
108# Cryptography (vault compatibility: scrypt + AES-256-GCM)
109scrypt = { version = "0.11", default-features = false }
110aes-gcm = "0.10"
111sha2 = "0.10"
112sha1 = "0.10"
113hmac = "0.12"
114subtle = "2"
116# SSH / SFTP (ring backend: no CMake/NASM needed on the build machines)
117russh = { version = "=0.64.1", default-features = false, features = ["ring", "rsa", "flate2", "dsa"] }
118russh-sftp = "=3.0.1"
120[target.'cfg(unix)'.dependencies]
121libc = "0.2"
123[target.'cfg(target_os = "linux")'.dependencies]
124webkit2gtk = "=2.0.2"
125gtk = "0.18"
127[dev-dependencies]
128murmur3 = "0.5"
129tempfile = "3"
131# Development builds keep line tables only (backtraces) so debug/test artifacts stay small on
132# the build machines (disk budget, rules §4A). Release builds are unaffected.
133[profile.dev]
134debug = "line-tables-only"
136[profile.dev.package."*"]
137debug = false
139# Crypto in an unoptimized dev build dominates RSA prime generation and Argon2.
140# Keep the same algorithms and KDF parameters; optimize their implementations.
141[profile.dev.package.pgp]
142opt-level = 3
143[profile.dev.package.rsa]
144opt-level = 3
145[profile.dev.package.dsa]
146opt-level = 3
147[profile.dev.package.num-bigint-dig]
148opt-level = 3
149[profile.dev.package.argon2]
150opt-level = 3
151[profile.dev.package.blake2]
152opt-level = 3
153[profile.dev.package.sha2]
154opt-level = 3
155[profile.dev.package.sha3]
156opt-level = 3
157[profile.dev.package.ml-kem]
158opt-level = 3
159[profile.dev.package.ml-dsa]
160opt-level = 3
161[profile.dev.package.slh-dsa]
162opt-level = 3
163[profile.dev.package.keccak]
164opt-level = 3
165[profile.dev.package.cx448]
166opt-level = 3
168[profile.release]
169codegen-units = 1
170lto = true
171opt-level = "s"
172panic = "unwind"
173strip = true
175# Only for screenshots in `smoke` builds; the versions are those Tauri already uses.
176[target.'cfg(target_os = "macos")'.dependencies]
177objc2 = { version = "0.6", optional = true }
178objc2-web-kit = { version = "0.3", optional = true, default-features = false, features = ["std", "block2", "objc2-app-kit", "WKWebView", "WKSnapshotConfiguration"] }
179objc2-app-kit = { version = "0.3", optional = true, default-features = false, features = ["std", "NSImage", "NSImageRep", "NSBitmapImageRep"] }
180objc2-foundation = { version = "0.3", optional = true, default-features = false, features = ["std", "NSData", "NSDictionary", "NSError", "NSString"] }
181block2 = { version = "0.6", optional = true }
183[patch.crates-io]
184ssh-key = { path = "vendor/ssh-key" }
185russh = { path = "vendor/russh" }
186ml-kem = { path = "vendor/ml-kem-legacy" }
SHA-25608e2c5c6c03cf29fc4255c4cd950e9420572336487895db992c4cafb7a2af281

CH-J Proprietary Software License 1.14 · Lähde ilmoitetaan CH-J Proprietary Software License 1.14-koodilla. Sen saatavuus ei muuta lisenssiehtoja eikä myönnä lisäoikeuksia.

Arkisto SHA-256ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f
Tiedostot