[package]
edition = "2021"
rust-version = "1.86"
name = "wickra-benchmark-core"
version = "0.1.2"
authors = ["wickra-lib"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic core of wickra-benchmark: recompute a curated (strategy, dataset) case with the pinned wickra-backtest engine and confirm its report and hash against the frozen expectation."
homepage = "https://wickra.org"
readme = "README.md"
keywords = [
"trading",
"backtest",
"benchmark",
"determinism",
"finance",
]
categories = [
"finance",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wickra-lib/wickra-benchmark"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["parallel"]
parallel = ["dep:rayon"]
[lib]
name = "wickra_benchmark_core"
path = "src/lib.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "indicator_conformance"
path = "tests/indicator_conformance.rs"
[[test]]
name = "path_eq_inline"
path = "tests/path_eq_inline.rs"
[[test]]
name = "proptest_invariants"
path = "tests/proptest_invariants.rs"
[dependencies.blake3]
version = "1"
[dependencies.rayon]
version = "1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "1.1"
[dependencies.wickra-backtest-core]
version = "0.1.4"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
features = ["float_roundtrip"]
[dev-dependencies.wickra-core]
version = "1.0.4"
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"