[package]
edition = "2021"
name = "kuva"
version = "0.1.6"
authors = ["James M. Ferguson <j.ferguson@garvan.org.au>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scientific plotting library in Rust with various backends."
documentation = "https://docs.rs/kuva"
readme = "README.md"
keywords = [
"plotting",
"bioinformatics",
"svg",
"visualization",
"science",
]
categories = [
"science",
"visualization",
"graphics",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/Psy-Fer/kuva"
[package.metadata.docs.rs]
all-features = true
[features]
cli = [
"dep:clap",
"dep:clap_mangen",
]
default = []
doom = ["cli"]
full = [
"png",
"pdf",
]
pdf = ["dep:svg2pdf"]
png = ["dep:resvg"]
[lib]
name = "kuva"
path = "src/lib.rs"
[[bin]]
name = "kuva"
path = "src/bin/kuva/main.rs"
required-features = ["cli"]
[[example]]
name = "all_plots_complex"
path = "examples/all_plots_complex.rs"
required-features = ["png"]
[[example]]
name = "all_plots_simple"
path = "examples/all_plots_simple.rs"
[[example]]
name = "band"
path = "examples/band.rs"
[[example]]
name = "bar"
path = "examples/bar.rs"
[[example]]
name = "boxplot"
path = "examples/boxplot.rs"
[[example]]
name = "brick"
path = "examples/brick.rs"
[[example]]
name = "candlestick"
path = "examples/candlestick.rs"
[[example]]
name = "chord"
path = "examples/chord.rs"
[[example]]
name = "contour"
path = "examples/contour.rs"
[[example]]
name = "density"
path = "examples/density.rs"
[[example]]
name = "dotplot"
path = "examples/dotplot.rs"
[[example]]
name = "figure"
path = "examples/figure.rs"
[[example]]
name = "font_sampler"
path = "examples/font_sampler.rs"
[[example]]
name = "forest"
path = "examples/forest.rs"
[[example]]
name = "heatmap"
path = "examples/heatmap.rs"
[[example]]
name = "histogram"
path = "examples/histogram.rs"
[[example]]
name = "histogram2d"
path = "examples/histogram2d.rs"
[[example]]
name = "layout"
path = "examples/layout.rs"
[[example]]
name = "legends"
path = "examples/legends.rs"
[[example]]
name = "line"
path = "examples/line.rs"
[[example]]
name = "manhattan"
path = "examples/manhattan.rs"
[[example]]
name = "phylo"
path = "examples/phylo.rs"
[[example]]
name = "pie"
path = "examples/pie.rs"
[[example]]
name = "polar"
path = "examples/polar.rs"
[[example]]
name = "ridgeline"
path = "examples/ridgeline.rs"
[[example]]
name = "sankey"
path = "examples/sankey.rs"
[[example]]
name = "scale"
path = "examples/scale.rs"
[[example]]
name = "scatter"
path = "examples/scatter.rs"
[[example]]
name = "series"
path = "examples/series.rs"
[[example]]
name = "stacked_area"
path = "examples/stacked_area.rs"
[[example]]
name = "strip"
path = "examples/strip.rs"
[[example]]
name = "synteny"
path = "examples/synteny.rs"
[[example]]
name = "ternary"
path = "examples/ternary.rs"
[[example]]
name = "twin_y"
path = "examples/twin_y.rs"
[[example]]
name = "upset"
path = "examples/upset.rs"
[[example]]
name = "violin"
path = "examples/violin.rs"
[[example]]
name = "volcano"
path = "examples/volcano.rs"
[[example]]
name = "waterfall"
path = "examples/waterfall.rs"
[[test]]
name = "annotations_svg"
path = "tests/annotations_svg.rs"
[[test]]
name = "band_svg"
path = "tests/band_svg.rs"
[[test]]
name = "bar_svg"
path = "tests/bar_svg.rs"
[[test]]
name = "boxplot_svg"
path = "tests/boxplot_svg.rs"
[[test]]
name = "brickplot"
path = "tests/brickplot.rs"
[[test]]
name = "candlestick_svg"
path = "tests/candlestick_svg.rs"
[[test]]
name = "chord_basic"
path = "tests/chord_basic.rs"
[[test]]
name = "cli_basic"
path = "tests/cli_basic.rs"
[[test]]
name = "clip_svg"
path = "tests/clip_svg.rs"
[[test]]
name = "contour_svg"
path = "tests/contour_svg.rs"
[[test]]
name = "datetime_svg"
path = "tests/datetime_svg.rs"
[[test]]
name = "density_basic"
path = "tests/density_basic.rs"
[[test]]
name = "dotplot_svg"
path = "tests/dotplot_svg.rs"
[[test]]
name = "figure_svg"
path = "tests/figure_svg.rs"
[[test]]
name = "forest_basic"
path = "tests/forest_basic.rs"
[[test]]
name = "heatmap"
path = "tests/heatmap.rs"
[[test]]
name = "hist2d_svg"
path = "tests/hist2d_svg.rs"
[[test]]
name = "hist_svg"
path = "tests/hist_svg.rs"
[[test]]
name = "interactive_svg"
path = "tests/interactive_svg.rs"
[[test]]
name = "label_centering_svg"
path = "tests/label_centering_svg.rs"
[[test]]
name = "legend_api"
path = "tests/legend_api.rs"
[[test]]
name = "line_svg"
path = "tests/line_svg.rs"
[[test]]
name = "manhattan_svg"
path = "tests/manhattan_svg.rs"
[[test]]
name = "marker_style_svg"
path = "tests/marker_style_svg.rs"
[[test]]
name = "multi_svg"
path = "tests/multi_svg.rs"
[[test]]
name = "palette_svg"
path = "tests/palette_svg.rs"
[[test]]
name = "pdf_basic"
path = "tests/pdf_basic.rs"
[[test]]
name = "phylo_basic"
path = "tests/phylo_basic.rs"
[[test]]
name = "pie_svg"
path = "tests/pie_svg.rs"
[[test]]
name = "png_basic"
path = "tests/png_basic.rs"
[[test]]
name = "polar_basic"
path = "tests/polar_basic.rs"
[[test]]
name = "ridgeline_basic"
path = "tests/ridgeline_basic.rs"
[[test]]
name = "sankey_basic"
path = "tests/sankey_basic.rs"
[[test]]
name = "scale_basic"
path = "tests/scale_basic.rs"
[[test]]
name = "scatter_svg"
path = "tests/scatter_svg.rs"
[[test]]
name = "series_svg"
path = "tests/series_svg.rs"
[[test]]
name = "stacked_area_svg"
path = "tests/stacked_area_svg.rs"
[[test]]
name = "strip_svg"
path = "tests/strip_svg.rs"
[[test]]
name = "svg_backend"
path = "tests/svg_backend.rs"
[[test]]
name = "synteny_basic"
path = "tests/synteny_basic.rs"
[[test]]
name = "terminal_basic"
path = "tests/terminal_basic.rs"
[[test]]
name = "ternary_basic"
path = "tests/ternary_basic.rs"
[[test]]
name = "theme_svg"
path = "tests/theme_svg.rs"
[[test]]
name = "tick_control"
path = "tests/tick_control.rs"
[[test]]
name = "tick_format_svg"
path = "tests/tick_format_svg.rs"
[[test]]
name = "tooltip_svg"
path = "tests/tooltip_svg.rs"
[[test]]
name = "twin_y_svg"
path = "tests/twin_y_svg.rs"
[[test]]
name = "upset_svg"
path = "tests/upset_svg.rs"
[[test]]
name = "violin_svg"
path = "tests/violin_svg.rs"
[[test]]
name = "volcano_svg"
path = "tests/volcano_svg.rs"
[[test]]
name = "waterfall_svg"
path = "tests/waterfall_svg.rs"
[[bench]]
name = "kde"
path = "benches/kde.rs"
harness = false
[[bench]]
name = "render"
path = "benches/render.rs"
harness = false
[[bench]]
name = "svg"
path = "benches/svg.rs"
harness = false
[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.clap_mangen]
version = "0.2"
optional = true
[dependencies.colorous]
version = "=1.0.16"
[dependencies.resvg]
version = "0.44"
optional = true
[dependencies.ryu]
version = "1"
[dependencies.svg2pdf]
version = "0.13"
optional = true
[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false
[dev-dependencies.image]
version = "0.24"
[dev-dependencies.rand]
version = "0.9.1"
[dev-dependencies.rand_distr]
version = "0.5.1"