[package]
edition = "2021"
name = "kuva"
version = "0.2.0"
authors = ["James M. Ferguson <j.ferguson@garvan.org.au>"]
build = "build.rs"
exclude = ["assets/fonts/DejaVuSans.ttf"]
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",
"dep:csv",
]
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 = "bump"
path = "examples/bump.rs"
[[example]]
name = "calendar"
path = "examples/calendar.rs"
[[example]]
name = "candlestick"
path = "examples/candlestick.rs"
[[example]]
name = "chord"
path = "examples/chord.rs"
[[example]]
name = "clustermap"
path = "examples/clustermap.rs"
[[example]]
name = "contour"
path = "examples/contour.rs"
[[example]]
name = "datetime"
path = "examples/datetime.rs"
[[example]]
name = "density"
path = "examples/density.rs"
[[example]]
name = "diceplot"
path = "examples/diceplot.rs"
[[example]]
name = "dotplot"
path = "examples/dotplot.rs"
[[example]]
name = "ecdf"
path = "examples/ecdf.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 = "funnel"
path = "examples/funnel.rs"
[[example]]
name = "gantt"
path = "examples/gantt.rs"
[[example]]
name = "heatmap"
path = "examples/heatmap.rs"
[[example]]
name = "hexbin"
path = "examples/hexbin.rs"
[[example]]
name = "histogram"
path = "examples/histogram.rs"
[[example]]
name = "histogram2d"
path = "examples/histogram2d.rs"
[[example]]
name = "horizon"
path = "examples/horizon.rs"
[[example]]
name = "jointplot"
path = "examples/jointplot.rs"
[[example]]
name = "layout"
path = "examples/layout.rs"
[[example]]
name = "legend_plot"
path = "examples/legend_plot.rs"
[[example]]
name = "legends"
path = "examples/legends.rs"
[[example]]
name = "line"
path = "examples/line.rs"
[[example]]
name = "lollipop"
path = "examples/lollipop.rs"
[[example]]
name = "manhattan"
path = "examples/manhattan.rs"
[[example]]
name = "mosaic"
path = "examples/mosaic.rs"
[[example]]
name = "network"
path = "examples/network.rs"
[[example]]
name = "parallel"
path = "examples/parallel.rs"
[[example]]
name = "phylo"
path = "examples/phylo.rs"
[[example]]
name = "pie"
path = "examples/pie.rs"
[[example]]
name = "polar"
path = "examples/polar.rs"
[[example]]
name = "pr"
path = "examples/pr.rs"
[[example]]
name = "pyramid"
path = "examples/pyramid.rs"
[[example]]
name = "qq"
path = "examples/qq.rs"
[[example]]
name = "radar"
path = "examples/radar.rs"
[[example]]
name = "raincloud"
path = "examples/raincloud.rs"
[[example]]
name = "ridgeline"
path = "examples/ridgeline.rs"
[[example]]
name = "roc"
path = "examples/roc.rs"
[[example]]
name = "rose"
path = "examples/rose.rs"
[[example]]
name = "sankey"
path = "examples/sankey.rs"
[[example]]
name = "sankey_got"
path = "examples/sankey_got.rs"
[[example]]
name = "scale"
path = "examples/scale.rs"
[[example]]
name = "scatter"
path = "examples/scatter.rs"
[[example]]
name = "scatter3d"
path = "examples/scatter3d.rs"
[[example]]
name = "series"
path = "examples/series.rs"
[[example]]
name = "slope"
path = "examples/slope.rs"
[[example]]
name = "stacked_area"
path = "examples/stacked_area.rs"
[[example]]
name = "streamgraph"
path = "examples/streamgraph.rs"
[[example]]
name = "strip"
path = "examples/strip.rs"
[[example]]
name = "sunburst"
path = "examples/sunburst.rs"
[[example]]
name = "surface3d"
path = "examples/surface3d.rs"
[[example]]
name = "survival"
path = "examples/survival.rs"
[[example]]
name = "synteny"
path = "examples/synteny.rs"
[[example]]
name = "ternary"
path = "examples/ternary.rs"
[[example]]
name = "text"
path = "examples/text.rs"
[[example]]
name = "treemap"
path = "examples/treemap.rs"
[[example]]
name = "twin_y"
path = "examples/twin_y.rs"
[[example]]
name = "upset"
path = "examples/upset.rs"
[[example]]
name = "venn"
path = "examples/venn.rs"
[[example]]
name = "violin"
path = "examples/violin.rs"
[[example]]
name = "volcano"
path = "examples/volcano.rs"
[[example]]
name = "waffle"
path = "examples/waffle.rs"
[[example]]
name = "waterfall"
path = "examples/waterfall.rs"
[[test]]
name = "annotations_svg"
path = "tests/annotations_svg.rs"
[[test]]
name = "architecture"
path = "tests/architecture.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 = "brick_legend_columns"
path = "tests/brick_legend_columns.rs"
[[test]]
name = "brickplot"
path = "tests/brickplot.rs"
[[test]]
name = "bump_basic"
path = "tests/bump_basic.rs"
[[test]]
name = "calendar_basic"
path = "tests/calendar_basic.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 = "clustermap"
path = "tests/clustermap.rs"
[[test]]
name = "colormap_basic"
path = "tests/colormap_basic.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 = "diceplot_svg"
path = "tests/diceplot_svg.rs"
[[test]]
name = "dotplot_svg"
path = "tests/dotplot_svg.rs"
[[test]]
name = "ecdf_basic"
path = "tests/ecdf_basic.rs"
[[test]]
name = "equal_aspect"
path = "tests/equal_aspect.rs"
[[test]]
name = "figure_svg"
path = "tests/figure_svg.rs"
[[test]]
name = "forest_basic"
path = "tests/forest_basic.rs"
[[test]]
name = "funnel_basic"
path = "tests/funnel_basic.rs"
[[test]]
name = "gantt_basic"
path = "tests/gantt_basic.rs"
[[test]]
name = "heatmap"
path = "tests/heatmap.rs"
[[test]]
name = "hexbin_basic"
path = "tests/hexbin_basic.rs"
[[test]]
name = "hist2d_svg"
path = "tests/hist2d_svg.rs"
[[test]]
name = "hist_svg"
path = "tests/hist_svg.rs"
[[test]]
name = "horizon_basic"
path = "tests/horizon_basic.rs"
[[test]]
name = "interactive_svg"
path = "tests/interactive_svg.rs"
[[test]]
name = "jointplot"
path = "tests/jointplot.rs"
[[test]]
name = "label_centering_svg"
path = "tests/label_centering_svg.rs"
[[test]]
name = "legend_api"
path = "tests/legend_api.rs"
[[test]]
name = "legend_plot_basic"
path = "tests/legend_plot_basic.rs"
[[test]]
name = "line_svg"
path = "tests/line_svg.rs"
[[test]]
name = "lollipop"
path = "tests/lollipop.rs"
[[test]]
name = "manhattan_svg"
path = "tests/manhattan_svg.rs"
[[test]]
name = "marker_style_svg"
path = "tests/marker_style_svg.rs"
[[test]]
name = "mosaic_basic"
path = "tests/mosaic_basic.rs"
[[test]]
name = "multi_svg"
path = "tests/multi_svg.rs"
[[test]]
name = "network_basic"
path = "tests/network_basic.rs"
[[test]]
name = "palette_svg"
path = "tests/palette_svg.rs"
[[test]]
name = "parallel_basic"
path = "tests/parallel_basic.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 = "pr_basic"
path = "tests/pr_basic.rs"
[[test]]
name = "pyramid_basic"
path = "tests/pyramid_basic.rs"
[[test]]
name = "qq_basic"
path = "tests/qq_basic.rs"
[[test]]
name = "radar_basic"
path = "tests/radar_basic.rs"
[[test]]
name = "raincloud"
path = "tests/raincloud.rs"
[[test]]
name = "ridgeline_basic"
path = "tests/ridgeline_basic.rs"
[[test]]
name = "roc_basic"
path = "tests/roc_basic.rs"
[[test]]
name = "rose_basic"
path = "tests/rose_basic.rs"
[[test]]
name = "sankey_basic"
path = "tests/sankey_basic.rs"
[[test]]
name = "scale_basic"
path = "tests/scale_basic.rs"
[[test]]
name = "scatter3d_basic"
path = "tests/scatter3d_basic.rs"
[[test]]
name = "scatter_svg"
path = "tests/scatter_svg.rs"
[[test]]
name = "series_svg"
path = "tests/series_svg.rs"
[[test]]
name = "slope_basic"
path = "tests/slope_basic.rs"
[[test]]
name = "stacked_area_svg"
path = "tests/stacked_area_svg.rs"
[[test]]
name = "stats_box"
path = "tests/stats_box.rs"
[[test]]
name = "streamgraph_basic"
path = "tests/streamgraph_basic.rs"
[[test]]
name = "strip_svg"
path = "tests/strip_svg.rs"
[[test]]
name = "sunburst_basic"
path = "tests/sunburst_basic.rs"
[[test]]
name = "surface3d_basic"
path = "tests/surface3d_basic.rs"
[[test]]
name = "survival"
path = "tests/survival.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 = "text_basic"
path = "tests/text_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 = "treemap_basic"
path = "tests/treemap_basic.rs"
[[test]]
name = "twin_y_svg"
path = "tests/twin_y_svg.rs"
[[test]]
name = "upset_svg"
path = "tests/upset_svg.rs"
[[test]]
name = "venn_basic"
path = "tests/venn_basic.rs"
[[test]]
name = "violin_svg"
path = "tests/violin_svg.rs"
[[test]]
name = "volcano_svg"
path = "tests/volcano_svg.rs"
[[test]]
name = "waffle_basic"
path = "tests/waffle_basic.rs"
[[test]]
name = "waterfall_svg"
path = "tests/waterfall_svg.rs"
[[test]]
name = "wrap_svg"
path = "tests/wrap_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.csv]
version = "1"
optional = true
[dependencies.flate2]
version = "1"
[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.3"
[dev-dependencies.rand_distr]
version = "0.5.1"