# 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"
name = "ggplot-rs"
version = "0.6.0"
authors = ["Simon Müller <sm@data-zoo.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of ggplot2's Grammar of Graphics"
homepage = "https://github.com/sipemu/ggplot-rs"
documentation = "https://docs.rs/ggplot-rs"
readme = "README.md"
keywords = [
    "ggplot2",
    "plotting",
    "dataviz",
    "charts",
    "grammar",
]
categories = [
    "visualization",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/sipemu/ggplot-rs"

[features]
arrow = ["dep:arrow"]
default = ["polars"]
polars = ["dep:polars"]
regression = [
    "dep:anofox-regression",
    "dep:faer",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

[[example]]
name = "supplier_leadtime"
path = "examples/supplier_leadtime.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anofox-regression]
version = "0.5"
optional = true

[dependencies.arrow]
version = "53"
optional = true
default-features = false

[dependencies.faer]
version = "0.23"
features = [
    "std",
    "linalg",
]
optional = true
default-features = false

[dependencies.image]
version = "0.24"
features = ["png"]
default-features = false

[dependencies.indexmap]
version = "2"

[dependencies.plotters]
version = "0.3"
features = [
    "bitmap_backend",
    "bitmap_encoder",
    "bitmap_gif",
    "svg_backend",
    "chrono",
    "image",
    "deprecated_items",
    "all_series",
    "all_elements",
    "full_palette",
    "colormaps",
    "ab_glyph",
]
default-features = false

[dependencies.polars]
version = "0.46"
features = ["lazy"]
optional = true

[dependencies.rand]
version = "0.8"
