-
Notifications
You must be signed in to change notification settings - Fork 83
/
Cargo.toml
39 lines (27 loc) · 1 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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
edition = "2021"
rust-version = "1.81"
license = "Apache-2.0"
authors = ["Brad Larsen <[email protected]>"]
homepage = "https://github.com/praetorian-inc/noseyparker"
repository = "https://github.com/praetorian-inc/noseyparker"
version = "0.22.0"
publish = false
[profile.release]
opt-level = 3
lto = "thin"
# strip out debug info from binary, but generate separate debuginfo
strip = "debuginfo"
split-debuginfo = "packed"
debug = "line-tables-only" # generate enough debug info to give useful stack traces upon panic
#debug = true # generate full debug info; significantly larger!
# A number of packages benefit from being compiled with optimization even as dev dependencies.
[profile.dev.package]
insta = { opt-level = 3 }
similar = { opt-level = 3 }
# Using optimization on the vectorscan packages saves ~6s on each integration test case!
vectorscan-rs = { opt-level = 3 }
vectorscan-rs-sys = { opt-level = 3 }