[package]
edition = "2021"
rust-version = "1.87"
name = "salib-core"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Foundational types for salib: Problem, Factor, Distribution, RngState
(multi-stream ChaCha20), and bit-deterministic tree reductions.
"""
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/antimeme-ai/salib"
[features]
default = ["parallel"]
parallel = ["dep:rayon"]
[lib]
name = "salib_core"
path = "src/lib.rs"
[[test]]
name = "distribution_tck"
path = "tests/distribution_tck.rs"
[[test]]
name = "problem_tck"
path = "tests/problem_tck.rs"
[[test]]
name = "rng_determinism_tck"
path = "tests/rng_determinism_tck.rs"
[[test]]
name = "tree_fold_tck"
path = "tests/tree_fold_tck.rs"
[dependencies.rand]
version = "0.9"
default-features = false
[dependencies.rand_chacha]
version = "0.9"
default-features = false
[dependencies.rayon]
version = "1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
default-features = false
[dependencies.statrs]
version = "0.18"
[dependencies.thiserror]
version = "2"
[dev-dependencies.salib-tck]
version = "0.1.1"
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"