47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
[package]
|
|
name = "balatro-seed-search"
|
|
version = "0.1.1"
|
|
edition = "2021"
|
|
autobins = false
|
|
description = "Native Rust CLI and engine for searching Balatro seeds"
|
|
authors = ["Julie (JupiterianSoul)"]
|
|
license = "MIT"
|
|
repository = "https://proxy.dandaedre.com/gitea/MadGobblins/balatro-seed-search"
|
|
|
|
[package.metadata.binstall]
|
|
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }.tgz"
|
|
pkg-fmt = "tgz"
|
|
bin-dir = "{ name }-{ target }-v{ version }/{ bin }{ binary-ext }"
|
|
|
|
[features]
|
|
default = ["parallel"]
|
|
parallel = ["dep:rayon", "dep:signal-hook"]
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
strsim = "0.11"
|
|
rayon = { version = "1.10", optional = true }
|
|
signal-hook = { version = "0.3", optional = true }
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
|
|
[profile.release.package."*"]
|
|
opt-level = 3
|
|
|
|
[[bench]]
|
|
name = "throughput"
|
|
path = "benches/throughput.rs"
|
|
harness = false
|
|
|
|
[[bin]]
|
|
name = "balatro-seed-search"
|
|
path = "src/bin/balatro-seed-search.rs"
|
|
required-features = ["parallel"]
|