-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
41 lines (37 loc) · 984 Bytes
/
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
[package]
name = "mapirs"
version = "0.5.2"
authors = ["nig <[email protected]>"]
edition = "2021"
[lib]
# dynamically linked c library (a dll)
crate-type = ["cdylib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# libc types
libc = "0.2.126"
# used to define the flags used by MAPI calls and enable bitflag operations on them
bitflags = "1.3.2"
# standard directory paths like user, cache etc
directories = "4.0.1"
# for building mailto links
urlencoding = "2.1.0"
# access the windows registry
winreg = "0.10.1"
# time formatting
time = { version = "0.3.12", features = ["formatting", "macros"] }
# generate file names
sha2 = "0.10.2"
# turn on LTO
# reduces the lib's size from 4.5MB to 1.9MB.
# opt-level = "s" only gets us ~another 10kB
[profile.release]
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
lto = true
panic = 'unwind'
incremental = false
codegen-units = 16
rpath = false