[package]
edition = "2024"
rust-version = "1.93"
name = "ferrochart-core"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform-independent core of the FerroChart financial charting engine"
homepage = "https://ferrochart.com"
readme = "README.md"
keywords = [
"chart",
"candlestick",
"finance",
"trading",
"wgpu",
]
categories = [
"visualization",
"rendering",
"finance",
"wasm",
]
license = "Apache-2.0"
repository = "https://github.com/0x0077/ferrochart"
[features]
rayon = ["dep:rayon"]
serde = ["dep:serde"]
testing = []
[lib]
name = "ferrochart_core"
path = "src/lib.rs"
[[test]]
name = "drawings"
path = "tests/drawings.rs"
[[test]]
name = "interaction"
path = "tests/interaction.rs"
[[test]]
name = "random_walk"
path = "tests/random_walk.rs"
[[test]]
name = "reveal"
path = "tests/reveal.rs"
[[test]]
name = "state"
path = "tests/state.rs"
[[test]]
name = "sync"
path = "tests/sync.rs"
[[test]]
name = "zero_alloc"
path = "tests/zero_alloc.rs"
[[bench]]
name = "core"
path = "benches/core.rs"
harness = false
[dependencies.rayon]
version = "1"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.smallvec]
version = "1"
[dev-dependencies.criterion]
version = "0.8"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expect_used = "deny"
many_single_char_names = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
similar_names = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "deny"