[package]
name = "ballin"
version = "0.1.2"
edition = "2021"
description = "A colorful interactive physics simulator with thousands of balls, but in your terminal."
license = "MIT"
repository = "https://github.com/minimaxir/ballin"

[dependencies]
# rapier2d 0.32.0+ is intentionally not used due to a newer physics solver causing panics
rapier2d = { version = "0.31.0", features = ["parallel", "simd-stable"] }
ratatui = { version = "0.29", default-features = false, features = [
    "crossterm",
] }
crossterm = "0.29"
rayon = "1.11.0"
thiserror = "2.0"
anyhow = "1.0"
clap = { version = "4.5", features = ["derive"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
rand = "0.8"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0"

[profile.release]
opt-level = 3
lto = true
codegen-units = 16
strip = true
panic = "abort"

[profile.dev]
opt-level = 1
