mirror of
https://git.sdf.org/epl692/pi.git
synced 2026-02-10 19:54:09 -05:00
Implement improvements: rayon parallelism, safer CLI, output file option, tests, CI workflow, tuned release profile
This commit is contained in:
11
Cargo.toml
11
Cargo.toml
@@ -1,8 +1,17 @@
|
||||
[package]
|
||||
name = "pi"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5.4", features = ["derive"] }
|
||||
rug = "1.24.1"
|
||||
rayon = "1.7"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.4"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
||||
Reference in New Issue
Block a user