# 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 = "0.1.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",
]
png = []
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"

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

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

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

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

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

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