-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (36 loc) · 838 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
42
43
44
45
cargo-features = ["profile-rustflags"]
[package]
name = "fastasx"
version = "0.1.1"
edition = "2021"
authors = ["Luke Thompson <luke-a-thompson@outlook.com>"]
[lib]
name = "fastasx"
path = "src/lib.rs"
[[bin]]
name = "fastasx_bin"
path = "src/main.rs"
[features]
bench = []
[dependencies]
byteorder = "1.5.0"
ringbuf = "0.4.1"
thiserror = "1.0.63"
fastrand = "2.1.0"
log = { version = "0.4.22", features = ["release_max_level_warn"] }
env_logger = "0.11.5"
ratatui = "0.28.1"
crossterm = "0.28.1"
[dev-dependencies]
criterion = "0.5.1"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1 # ~Doubles performance for some message parses
panic = "abort"
debug = false
[profile.release.build-override]
rustflags = ["-C", "target-cpu=native"] # No big difference in performance
[[bench]]
name = "benchmarks"
harness = false