Cargo Features

[dependencies]
plotters-unstable = { version = "0.2.1", default-features = false, features = ["all_series", "all_elements", "bitmap_backend", "bitmap_encoder", "bitmap_gif", "svg_backend", "errorbar", "boxplot", "histogram", "point_series", "ttf", "datetime", "evcxr", "deprecated_items", "image"] }
default = all_elements, all_series, bitmap_backend, bitmap_encoder, bitmap_gif, chrono, deprecated_items, image, svg_backend, ttf

These default features are set whenever plotters-unstable is added without default-features = false somewhere in the dependency tree.

all_series default = area_series, line_series, point_series
all_elements default = boxplot, candlestick, errorbar, histogram
bitmap_backend default = plotters-bitmap, ttf

Tier 1 Backends

bitmap_encoder default

Enables image_encoder of plotters-bitmap ^0.2

bitmap_gif default

Enables gif_backend of plotters-bitmap ^0.2

svg_backend default evcxr? = plotters-svg
errorbar all_elements

Elements

candlestick boxplot all_elements
histogram all_elements

Series

area_series line_series point_series all_series
ttf default bitmap_backend = font-kit, lazy_static, rusttype

Font implemnetation

datetime = chrono

Misc

evcxr = svg_backend

Affects plotters-unstable::evcxr

deprecated_items default

Keep some of the deprecated items for backward compatibility

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

chrono default datetime?
plotters-svg svg_backend

Enables plotters-svg ^0.2

plotters-bitmap bitmap_backend bitmap_encoder bitmap_gif

Enables plotters-bitmap ^0.2

font-kit not wasm32 ttf

Enables font-kit ^0.7.0

image not wasm32 default

Enables image ^0.23.4

lazy_static not wasm32 ttf
rusttype not wasm32 ttf

Enables rusttype ^0.8.2