-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
73 lines (66 loc) · 1.94 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
69
70
71
72
73
[package]
name = "raspirus"
version = "2.2.1"
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.25"
reqwest = { version = "0.12.12", features = ["blocking", "json"] }
chrono = "0.4.39"
directories-next = "2.0.0"
simplelog = "0.12.2"
lazy_static = "1.5.0"
yara-x = "0.13.0"
num_cpus = "1.16.0"
sha2 = "0.10.8"
hex = "0.4.3"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.137"
iced_aw = "0.11.0"
futures = "0.3.31"
open = "5.3.2"
printpdf = { version = "0.7.0", features = ["svg"] }
zip = "2.2.2"
tokio = "1.43.0"
rust-i18n = { version = "3.1.2", features = ["log-miss-tr"] }
rfd = "0.15.2"
iced = { version = "0.13.1", features = ["tokio", "image", "svg", "lazy", "webgl", "fira-sans", "advanced"] }
# usb detection on linux
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
lfs-core = "0.12.0"
# windows dependencies
[target.'cfg(target_os = "windows")'.dependencies]
windows-sys = { version = "0.59.0", features = [
"Win32_Foundation",
"Win32_System_Console",
] }
winapi = "0.3.9"
[features]
default = ["debug"]
debug = ["iced/debug"]
[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 = "io.github.raspirus.raspirus"
category = "Utility"
homepage = "https://raspirus.deno.dev"
icons = ["src/assets/logo.png"]
licenseFile = "LICENSE"
formats = ["all"]
before-packaging-command = "cargo build --release --no-default-features"