# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.75"
name = "plotkit"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A matplotlib-shaped, publication-quality plotting library for Rust"
homepage = "https://plotkit.rs"
documentation = "https://docs.rs/plotkit"
readme = "README.md"
keywords = [
    "plotting",
    "chart",
    "visualization",
    "svg",
    "matplotlib",
]
categories = [
    "visualization",
    "science",
    "multimedia::images",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/anonymousAAK/plotrs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "png",
    "svg",
]
jupyter = [
    "png",
    "dep:base64",
]
ndarray = ["dep:plotkit-ndarray"]
pdf = ["dep:plotkit-render-pdf"]
png = []
polars = ["dep:plotkit-polars"]
svg = ["dep:plotkit-render-svg"]

[lib]
name = "plotkit"
path = "src/lib.rs"

[[example]]
name = "01_line"
path = "examples/01_line.rs"

[[example]]
name = "02_scatter"
path = "examples/02_scatter.rs"

[[example]]
name = "03_bar"
path = "examples/03_bar.rs"

[[example]]
name = "04_histogram"
path = "examples/04_histogram.rs"

[[example]]
name = "05_fill_between"
path = "examples/05_fill_between.rs"

[[example]]
name = "06_errorbar"
path = "examples/06_errorbar.rs"

[[example]]
name = "07_boxplot"
path = "examples/07_boxplot.rs"

[[example]]
name = "08_step"
path = "examples/08_step.rs"

[[example]]
name = "09_stem"
path = "examples/09_stem.rs"

[[example]]
name = "10_heatmap"
path = "examples/10_heatmap.rs"

[[example]]
name = "11_colormap_scatter"
path = "examples/11_colormap_scatter.rs"

[[example]]
name = "12_polars"
path = "examples/12_polars.rs"
required-features = ["polars"]

[[example]]
name = "13_ndarray"
path = "examples/13_ndarray.rs"
required-features = ["ndarray"]

[[example]]
name = "14_annotations"
path = "examples/14_annotations.rs"

[[example]]
name = "14_pie"
path = "examples/14_pie.rs"

[[example]]
name = "15_logscale"
path = "examples/15_logscale.rs"

[[example]]
name = "16_axis_control"
path = "examples/16_axis_control.rs"

[[example]]
name = "17_colorbar"
path = "examples/17_colorbar.rs"

[[example]]
name = "17_contour"
path = "examples/17_contour.rs"

[[example]]
name = "17_pdf"
path = "examples/17_pdf.rs"
required-features = ["pdf"]

[[example]]
name = "17_twinx"
path = "examples/17_twinx.rs"

[[example]]
name = "17_violin"
path = "examples/17_violin.rs"

[[example]]
name = "18_stacked_bar"
path = "examples/18_stacked_bar.rs"

[[example]]
name = "19_grouped_bar"
path = "examples/19_grouped_bar.rs"

[[example]]
name = "20_hexbin"
path = "examples/20_hexbin.rs"

[[example]]
name = "20_polar"
path = "examples/20_polar.rs"

[[example]]
name = "20_themes"
path = "examples/20_themes.rs"

[[example]]
name = "20_waterfall"
path = "examples/20_waterfall.rs"

[[example]]
name = "21_multi_line"
path = "examples/21_multi_line.rs"

[[example]]
name = "22_line_styles"
path = "examples/22_line_styles.rs"

[[example]]
name = "23_markers"
path = "examples/23_markers.rs"

[[example]]
name = "24_subplots_grid"
path = "examples/24_subplots_grid.rs"

[[example]]
name = "25_suptitle_layout"
path = "examples/25_suptitle_layout.rs"

[[example]]
name = "26_theme_dark"
path = "examples/26_theme_dark.rs"

[[example]]
name = "27_theme_seaborn"
path = "examples/27_theme_seaborn.rs"

[[example]]
name = "28_theme_ggplot"
path = "examples/28_theme_ggplot.rs"

[[example]]
name = "29_theme_publication"
path = "examples/29_theme_publication.rs"

[[example]]
name = "30_theme_solarized"
path = "examples/30_theme_solarized.rs"

[[example]]
name = "31_heatmap_viridis"
path = "examples/31_heatmap_viridis.rs"

[[example]]
name = "32_heatmap_plasma"
path = "examples/32_heatmap_plasma.rs"

[[example]]
name = "33_symlog"
path = "examples/33_symlog.rs"

[[example]]
name = "34_loglog"
path = "examples/34_loglog.rs"

[[example]]
name = "35_barh"
path = "examples/35_barh.rs"

[[example]]
name = "36_density_hist"
path = "examples/36_density_hist.rs"

[[example]]
name = "37_stacked_area"
path = "examples/37_stacked_area.rs"

[[example]]
name = "38_scatter_colorbar"
path = "examples/38_scatter_colorbar.rs"

[[example]]
name = "39_errorbar_demo"
path = "examples/39_errorbar_demo.rs"

[[example]]
name = "40_boxplot_multi"
path = "examples/40_boxplot_multi.rs"

[[example]]
name = "41_violin_multi"
path = "examples/41_violin_multi.rs"

[[example]]
name = "42_annotate_arrows"
path = "examples/42_annotate_arrows.rs"

[[example]]
name = "43_custom_ticklabels"
path = "examples/43_custom_ticklabels.rs"

[[example]]
name = "44_inverted_axes"
path = "examples/44_inverted_axes.rs"

[[example]]
name = "45_twiny"
path = "examples/45_twiny.rs"

[[example]]
name = "46_polar_fill"
path = "examples/46_polar_fill.rs"

[[example]]
name = "47_df_plot"
path = "examples/47_df_plot.rs"
required-features = ["polars"]

[[example]]
name = "48_timeseries"
path = "examples/48_timeseries.rs"

[[example]]
name = "49_mathtext"
path = "examples/49_mathtext.rs"

[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"

[[test]]
name = "golden_tests"
path = "tests/golden_tests.rs"

[[test]]
name = "svg_render_tests"
path = "tests/svg_render_tests.rs"

[[bench]]
name = "render_benchmarks"
path = "benches/render_benchmarks.rs"
harness = false

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.plotkit-core]
version = "1.0.0"

[dependencies.plotkit-ndarray]
version = "1.0.0"
optional = true

[dependencies.plotkit-polars]
version = "1.0.0"
optional = true

[dependencies.plotkit-render-pdf]
version = "1.0.0"
optional = true

[dependencies.plotkit-render-skia]
version = "1.0.0"

[dependencies.plotkit-render-svg]
version = "1.0.0"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.insta]
version = "1"
features = ["glob"]

[dev-dependencies.plotkit-core]
version = "1.0.0"

[dev-dependencies.plotkit-render-skia]
version = "1.0.0"
