[package]
edition = "2024"
rust-version = "1.93"
name = "ferrochart-render-cpu"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CPU (tiny-skia) rendering backend for FerroChart"
homepage = "https://ferrochart.com"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/0x0077/ferrochart"
[lib]
name = "ferrochart_render_cpu"
path = "src/lib.rs"
[[example]]
name = "snapshot"
path = "examples/snapshot.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[dependencies.ferrochart-core]
version = "0.3.0"
[dependencies.ferrochart-text]
version = "0.3.0"
[dependencies.tiny-skia]
version = "0.12"
[dev-dependencies.ferrochart-core]
version = "0.3.0"
features = ["testing"]
[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"