67 lines
1.7 KiB
TOML
67 lines
1.7 KiB
TOML
|
|
[package]
|
|||
|
|
name = "secret-file-selfcheck"
|
|||
|
|
version = "0.1.0"
|
|||
|
|
edition = "2021"
|
|||
|
|
description = "磁盘文档涉密抽检工具(egui + Umi-OCR)"
|
|||
|
|
|
|||
|
|
[dependencies]
|
|||
|
|
eframe = { version = "0.27", default-features = false, features = ["default_fonts", "glow", "persistence"] }
|
|||
|
|
egui = "0.27"
|
|||
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "fs"] }
|
|||
|
|
serde = { version = "1", features = ["derive"] }
|
|||
|
|
serde_json = "1"
|
|||
|
|
toml = "0.8"
|
|||
|
|
tracing = "0.1"
|
|||
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|||
|
|
tracing-appender = "0.2"
|
|||
|
|
docx-rs = "0.4"
|
|||
|
|
encoding_rs = "0.8"
|
|||
|
|
chardetng = "0.1"
|
|||
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "blocking"] }
|
|||
|
|
base64 = "0.22"
|
|||
|
|
sysinfo = "0.31"
|
|||
|
|
windows-sys = { version = "0.59", features = [
|
|||
|
|
"Win32_UI_WindowsAndMessaging",
|
|||
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|||
|
|
"Win32_System_Threading",
|
|||
|
|
"Win32_System_Console",
|
|||
|
|
"Win32_System_Memory",
|
|||
|
|
"Win32_System_LibraryLoader",
|
|||
|
|
"Win32_System_DataExchange",
|
|||
|
|
"Win32_Graphics_Gdi",
|
|||
|
|
"Win32_Storage_FileSystem",
|
|||
|
|
"Win32_Storage_Xps",
|
|||
|
|
"Win32_UI_Shell",
|
|||
|
|
"Win32_System_Registry",
|
|||
|
|
"Win32_Security",
|
|||
|
|
"Win32_Foundation",
|
|||
|
|
] }
|
|||
|
|
sys-locale = "0.3"
|
|||
|
|
dirs = "5"
|
|||
|
|
walkdir = "2"
|
|||
|
|
regex = "1"
|
|||
|
|
aho-corasick = "1"
|
|||
|
|
sha2 = "0.10"
|
|||
|
|
anyhow = "1"
|
|||
|
|
thiserror = "1"
|
|||
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|||
|
|
once_cell = "1"
|
|||
|
|
log = "0.4"
|
|||
|
|
image = { version = "0.25", default-features = false, features = ["png", "bmp"] }
|
|||
|
|
handlebars = "5"
|
|||
|
|
url = "2"
|
|||
|
|
rand = "0.8"
|
|||
|
|
rfd = "0.14"
|
|||
|
|
zip = "2"
|
|||
|
|
quick-xml = "0.36"
|
|||
|
|
|
|||
|
|
[build-dependencies]
|
|||
|
|
embed-resource = "2"
|
|||
|
|
|
|||
|
|
[profile.release]
|
|||
|
|
opt-level = 3
|
|||
|
|
lto = "thin"
|
|||
|
|
codegen-units = 1
|
|||
|
|
strip = true
|
|||
|
|
panic = "abort"
|