-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
62 lines (55 loc) · 2.62 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
[package]
name = "loutre"
version = "2.0.0"
authors = ["Rodolphe Bréard <[email protected]>"]
edition = "2021"
description = "Outil de calcul des empreintes des pièces."
license = "EUPL-1.2"
publish = false
build = "build.rs"
[package.metadata.winres]
LegalCopyright = "Commission nationale de l’informatique et des libertés (CNIL)"
[features]
default = []
nightly = []
[dependencies]
dirs = { version = "5.0.1", default-features = false }
eframe = { version = "0.28.1", default-features = false, features = ["accesskit", "glow", "wayland", "x11"] }
egui_extras = { version = "0.28.1", default-features = false, features = ["image"] }
fluent = { version = "0.16.0", default-features = false }
humansize = { version = "2.1.3", default-features = false }
image = { version = "0.25.1", default-features = false, features = ["png", "ico"] }
msg_parser = { version = "0.1.1", default-features = false }
nom = { version = "7.1.3", default-features = false, features = ["std"] }
rfd = "0.14.1"
serde = { version = "1.0.197", default-features = false, features = ["std"] }
serde_derive = { version = "1.0.197", default-features = false }
toml = { version = "0.8.12", default-features = false, features = ["display", "parse"] }
unic-langid = { version = "0.9.4", default-features = false }
unicode-normalization = { version = "0.1.23", default-features = false, features = ["std"] }
sha2 = { version = "0.10.8", default-features = false, features = ["std"] }
sha3 = { version = "0.10.8", default-features = false, features = ["std"] }
blake2 = { version = "0.10.6", default-features = false, features = ["std"] }
blake3 = { version = "1.5.1", default-features = false, features = ["std", "rayon"] }
walkdir = { version = "2.5.0", default-features = false }
[target.'cfg(target_env = "msvc")'.dependencies]
arboard = { version = "3.3.2", default-features = false, features = ["windows-sys"] }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
arboard = { version = "3.3.2", default-features = false, features = ["wayland-data-control", "wl-clipboard-rs"] }
[target.'cfg(windows)'.build-dependencies]
winres = { version = "0.1", default-features = false }
[profile.release]
strip = "symbols"
codegen-units = 1
panic = "abort"
# It is far better to use the "thin" LTO instead of the "fat" one,
# however Thin-LTO is broken on windows-MSVC. This setting should
# be switched to "thin" as soon as this bug is fixed.
#
# ThinLTO:
# - https://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html
# Bug:
# - https://github.com/rust-lang/rust/issues/109114
# - https://github.com/rust-lang/rust/issues/109067
# - https://github.com/rust-lang/rust/pull/109094
lto = "fat"