mdbook-plotly 0.2.2

A mdbook preprocessor that renders plot code blocks (e.g., ```plot) into interactive or static charts during book build.
Documentation
[package]
name = "mdbook-plotly"
version = "0.2.2"
authors = ["TickPoints <tickpoints@outlook.com>"]
edition = "2024"
keywords = ["markdown", "mdbook"]
description = "A mdbook preprocessor that renders plot code blocks (e.g., ```plot) into interactive or static charts during book build."
license = "MIT"
repository = "https://github.com/TickPoints/mdbook-plotly"
readme = "README.md"

[dependencies]
anyhow = "1.0"
clap = { version = "4.5", features = ["cargo"] }
chrono = { version = "0.4", optional = true }
env_logger = "0.11"
fasteval = { version = "0.2", features = ["unsafe-vars"]}
log = "0.4"
mdbook-preprocessor = "0.5"
serde = "1.0"
serde_json = "1.0"
toml = { version = "0.9", features = ["parse", "serde"] }
pulldown-cmark = { version = "0.13", default-features = false }
pulldown-cmark-to-cmark = { version = "22.0", default-features = false }
rayon = { version = "1.11", optional = true }
plotly = "0.14"
json5 = "1.3"
rand = { version = "0.10", optional = true }

[features]
default = ["sync", "map-parser-extensions", "default-handlers"]
sync = ["dep:rayon"]
default-handlers = ["plotly-html-handler"]
full-handlers = ["plotly-svg-handler", "plotly-html-handler"]
map-parser-extensions = ["dep:chrono", "dep:rand"]
plotly-backed = [
    # If you have firefox, you need to use this feature to enable the plotly backend.
    # "plotly/static_export_geckodriver"
    # If you have chrome, you need to use this feature to enable the plotly backend.
    # "plotly/static_export_chromedriver"
]
plotly-svg-handler = ["plotly-backed"]
plotly-html-handler = []

[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true