-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (57 loc) · 1.43 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (57 loc) · 1.43 KB
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
[package]
name = "quicktransform"
version = "1.0.0"
edition = "2021"
rust-version = "1.70"
authors = ["LAZYFROG <contact@kindware.dev>"]
description = "Lightning-fast encoder/decoder/hasher CLI & GUI tool"
license = "MIT"
repository = "https://github.com/Brutus1066/QuickTransform"
homepage = "https://kindware.dev"
keywords = ["cli", "encoder", "hash", "base64", "utility"]
categories = ["command-line-utilities", "encoding"]
readme = "README.md"
build = "build.rs"
exclude = [
"screenshots/",
"scripts/",
"assets/",
".github/",
"target/",
]
[dependencies]
# CLI
clap = { version = "4.4", features = ["derive"] }
# Encoding/Hashing
base64 = "0.21"
hex = "0.4"
sha2 = "0.10"
md-5 = "0.10"
sha1 = "0.10"
urlencoding = "2.1"
html-escape = "0.2"
# Generation
uuid = { version = "1.6", features = ["v4"] }
rand = "0.8"
# GUI (optional)
eframe = { version = "0.29", optional = true, default-features = false, features = ["default_fonts", "glow", "persistence"] }
image = { version = "0.25", optional = true, default-features = false, features = ["png", "ico"] }
rfd = { version = "0.15", optional = true }
[target.'cfg(windows)'.build-dependencies]
winresource = "0.1"
[features]
default = []
gui = ["eframe", "image", "rfd"]
[[bin]]
name = "qt"
path = "src/main.rs"
[[bin]]
name = "qt-gui"
path = "src/gui_main.rs"
required-features = ["gui"]
[profile.release]
lto = true
strip = true
opt-level = "z"
codegen-units = 1
panic = "abort"