[package]
edition = "2021"
rust-version = "1.86"
name = "wickra-backtest-core"
version = "0.1.4"
authors = ["kingchenc <support@wickra.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Streaming-native backtest engine core (strategy spec, rules, execution, portfolio) built on wickra-core."
homepage = "https://github.com/wickra-lib/wickra-backtest"
readme = "README.md"
keywords = [
"backtesting",
"trading",
"technical-analysis",
"quant",
"streaming",
]
categories = [
"finance",
"simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/wickra-lib/wickra-backtest"
[package.metadata.docs.rs]
all-features = true
[lib]
name = "wickra_backtest_core"
path = "src/lib.rs"
[[test]]
name = "example_specs"
path = "tests/example_specs.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "golden_json"
path = "tests/golden_json.rs"
[[test]]
name = "golden_streaming"
path = "tests/golden_streaming.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.wickra-core]
version = "1.0"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
float_cmp = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
similar_names = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"