منبع منتشرشده
دانلود ZIP منبع
CH-J Tools
پوشهها و فایلهای یک نسخهٔ مشخص از برنامه را مرور کنید.
CH-J / Server Manager
1704 فایل
0.1.2-beta
افزودهشده: · ساختهشده:
1
[package]2
name = "ch-j-tools"3
version = "0.1.2"4
description = "CH-J Tools — desktop SSH/SFTP client and server manager (Rust + Tauri 2 core)."5
authors = ["Josef Chudy <josef@ch-j.de>"]6
license-file = "../legal/LICENSE"7
homepage = "https://sm.ch-j.de"8
edition = "2021"9
rust-version = "1.90"10
publish = false11
default-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.16
custom-protocol = ["tauri/custom-protocol"]17
# Test-only UI automation (never enabled for release builds).18
smoke = ["dep:objc2", "dep:objc2-web-kit", "dep:objc2-app-kit", "dep:objc2-foundation", "dep:block2"]20
[lib]21
name = "chj_core"22
crate-type = ["rlib"]24
[[bin]]25
name = "ch-j-tools"26
path = "src/main.rs"28
# The CH-J-Standby-Helper is its own workspace package (standby-helper/), bundled by the release as externalBin.29
[workspace]30
members = ["standby-helper"]32
[build-dependencies]33
tauri-build = { version = "=2.7.4", features = [] }34
serde_json = "1"36
[dependencies]37
tauri = { version = "=2.12.5", features = ["image-png", "unstable"] }38
tauri-plugin-dialog = "=2.8.3"39
tauri-plugin-single-instance = "=2.5.4"40
tauri-plugin-updater = "=2.14.0"41
tauri-plugin-clipboard-manager = "2"42
tauri-plugin-opener = "2"44
serde = { version = "1", features = ["derive"] }45
serde_json = { version = "1", features = ["preserve_order"] }46
tokio = { version = "1", features = ["full"] }47
thiserror = "2"48
uuid = { version = "1", features = ["v4"] }49
rand = "0.8"50
base64 = "0.22"51
bytes = "1"52
hex = "0.4"53
regex = "1"54
once_cell = "1"55
parking_lot = "0.12"56
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }57
zeroize = "1"58
fs4 = { version = "0.13", features = ["sync"] }59
url = "2"60
futures = "0.3"61
tokio-util = "0.7"62
idna = "1"63
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "http2"] }64
zip = { version = "2", default-features = false, features = ["deflate"] }65
tar = "0.4"66
indexmap = "2"68
# Diagnostics69
hickory-resolver = { version = "0.25", default-features = false, features = ["system-config", "tokio"] }70
rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12", "logging"] }71
tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12"] }72
rustls-pemfile = "2"73
webpki-roots = "1"74
x509-parser = { version = "0.17", features = ["verify"] }75
flate2 = "1"76
brotli = "8"77
zstd = "0.13"79
# Key Generator (RustCrypto, PKCS#8 interoperable with OpenSSL/OpenSSH)80
rsa = { version = "0.9", features = ["std"] }81
p256 = { version = "0.13", features = ["ecdsa", "pkcs8"] }82
p384 = { version = "0.13", features = ["ecdsa", "pkcs8"] }83
p521 = { version = "0.13", features = ["ecdsa", "pkcs8"] }84
ed25519-dalek = { version = "2", features = ["pkcs8", "rand_core"] }85
dsa = "0.6"86
pkcs8 = { version = "0.10", features = ["encryption", "pem", "std"] }87
pkcs5 = { version = "0.7", features = ["pbes2"] }88
num-bigint-dig = "0.8"90
# Hash & Checksum (local files; same 49 algorithms as 0.1.0)91
digest = "0.10"92
sha3 = "0.10"93
blake2 = "0.10"94
blake3 = { version = "1", default-features = false, features = ["std"] }95
k12 = "0.3"96
ripemd = "0.1"97
whirlpool = "0.10"98
tiger = "0.2"99
md-5 = "0.10"100
xxhash-rust = { version = "0.8", features = ["xxh32", "xxh64", "xxh3"] }101
highway = "1"102
crc = "3"103
adler = "1"105
# Update trust (OpenPGP detached signatures, SHA-512)106
pgp = { version = "=0.21.0", features = ["pqc"] }108
# Cryptography (vault compatibility: scrypt + AES-256-GCM)109
scrypt = { version = "0.11", default-features = false }110
aes-gcm = "0.10"111
sha2 = "0.10"112
sha1 = "0.10"113
hmac = "0.12"114
subtle = "2"116
# SSH / SFTP (ring backend: no CMake/NASM needed on the build machines)117
russh = { version = "=0.64.1", default-features = false, features = ["ring", "rsa", "flate2", "dsa"] }118
russh-sftp = "=3.0.1"120
[target.'cfg(unix)'.dependencies]121
libc = "0.2"123
[target.'cfg(target_os = "linux")'.dependencies]124
webkit2gtk = "=2.0.2"125
gtk = "0.18"127
[dev-dependencies]128
murmur3 = "0.5"129
tempfile = "3"131
# Development builds keep line tables only (backtraces) so debug/test artifacts stay small on132
# the build machines (disk budget, rules §4A). Release builds are unaffected.133
[profile.dev]134
debug = "line-tables-only"136
[profile.dev.package."*"]137
debug = false139
# 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]142
opt-level = 3143
[profile.dev.package.rsa]144
opt-level = 3145
[profile.dev.package.dsa]146
opt-level = 3147
[profile.dev.package.num-bigint-dig]148
opt-level = 3149
[profile.dev.package.argon2]150
opt-level = 3151
[profile.dev.package.blake2]152
opt-level = 3153
[profile.dev.package.sha2]154
opt-level = 3155
[profile.dev.package.sha3]156
opt-level = 3157
[profile.dev.package.ml-kem]158
opt-level = 3159
[profile.dev.package.ml-dsa]160
opt-level = 3161
[profile.dev.package.slh-dsa]162
opt-level = 3163
[profile.dev.package.keccak]164
opt-level = 3165
[profile.dev.package.cx448]166
opt-level = 3168
[profile.release]169
codegen-units = 1170
lto = true171
opt-level = "s"172
panic = "unwind"173
strip = true175
# Only for screenshots in `smoke` builds; the versions are those Tauri already uses.176
[target.'cfg(target_os = "macos")'.dependencies]177
objc2 = { version = "0.6", optional = true }178
objc2-web-kit = { version = "0.3", optional = true, default-features = false, features = ["std", "block2", "objc2-app-kit", "WKWebView", "WKSnapshotConfiguration"] }179
objc2-app-kit = { version = "0.3", optional = true, default-features = false, features = ["std", "NSImage", "NSImageRep", "NSBitmapImageRep"] }180
objc2-foundation = { version = "0.3", optional = true, default-features = false, features = ["std", "NSData", "NSDictionary", "NSError", "NSString"] }181
block2 = { version = "0.6", optional = true }183
[patch.crates-io]184
ssh-key = { path = "vendor/ssh-key" }185
russh = { path = "vendor/russh" }186
ml-kem = { path = "vendor/ml-kem-legacy" }SHA-256
08e2c5c6c03cf29fc4255c4cd950e9420572336487895db992c4cafb7a2af281CH-J Proprietary Software License 1.14 · کد منبع تحت CH-J Proprietary Software License 1.14 ارائه میشود. در دسترس بودن آن شرایط مجوز را تغییر نمیدهد و حق اضافهای اعطا نمیکند.
SHA-256 بایگانی
ac8fe790f4ba60fc098f8c985fc2656cfcc6cdc21fb34b30e308a2b54e62258f