[package]
edition = "2024"
name = "ccalc-plot"
version = "0.47.0"
authors = ["Holgert K <holgertkey@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Plot plugin for ccalc (ASCII and SVG/PNG output)"
readme = false
license = "MIT"
repository = "https://github.com/holgertkey/ccalc"
resolver = "2"
[features]
plot = ["dep:textplots"]
plot-all = [
"plot",
"plot-svg",
]
plot-svg = ["dep:plotters"]
[lib]
name = "ccalc_plot"
path = "src/lib.rs"
[[test]]
name = "svg_png_tests"
path = "tests/svg_png_tests.rs"
[dependencies.ccalc-engine]
version = "0.47.0"
[dependencies.plotters]
version = "0.3"
features = [
"svg_backend",
"bitmap_backend",
"bitmap_encoder",
"line_series",
"ttf",
]
optional = true
default-features = false
[dependencies.textplots]
version = "0.8"
optional = true
[dev-dependencies.ndarray]
version = "0.16"