-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
68 lines (63 loc) · 1.81 KB
/
Cargo.toml
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
[package]
name = "raspirus"
version = "2.1.0"
description = "A simple hash-based virus-scanner"
authors = ["Demetz Benjamin, Hell Björn Felix"]
license-file = "LICENSE"
readme = "README.md"
repository = "https://github.com/Raspirus/Raspirus"
homepage = "https://raspirus.deno.dev"
default-run = "raspirus"
edition = "2021"
rust-version = "1.81"
# generic dependencies
[dependencies]
threadpool_rs = { git = "https://github.com/GamingGuy003/threadpool_rs.git", features = [
"log",
] }
log = "0.4.22"
reqwest = { version = "0.12.8", features = ["blocking", "json"] }
chrono = "0.4.38"
directories-next = "2.0.0"
simplelog = "0.12.2"
lazy_static = "1.5.0"
yara-x = "0.11.0"
num_cpus = "1.16.0"
sha2 = "0.10.8"
hex = "0.4.3"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.132"
iced = { version = "0.13.1", features = ["tokio", "image", "svg"] }
iced_aw = "0.11.0"
futures = "0.3.31"
open = "5.3.0"
printpdf = { version = "0.7.0", features = ["svg"] }
zip = "2.2.0"
tokio = "1.40.0"
rust-i18n = { version = "3.1.2", features = ["log-miss-tr"] }
rfd = "0.15.0"
# usb detection on linux
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
lfs-core = "0.11.2"
# windows dependencies
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.59.0", features = [
"Win32_Foundation",
"Win32_System_Console",
] }
winapi = "0.3.9"
[profile.release]
opt-level = 3 # Focus on performance
lto = true
codegen-units = 1
strip = true # Removed debugging symbols
#panic = "abort" # Removes exception tree
[package.metadata.packager]
product-name = "Raspirus"
identifier = "com.raspirus.app"
category = "Utility"
homepage = "https://raspirus.deno.dev"
icons = ["src/assets/logo.png"]
licenseFile = "LICENSE"
formats = ["all"]
before-packaging-command = "cargo build --release"