Thanks to visit codestin.com
Credit goes to lib.rs

Cargo Features

[dependencies]
embedded-charts = { version = "0.3.0", default-features = false, features = ["std", "no_std", "floating-point", "libm-math", "fixed-point", "integer-math", "cordic-math", "basic-charts", "advanced-charts", "line", "bar", "stacked-charts", "stacked-lines", "pie", "donut", "scatter", "gauge", "custom", "color-support", "anti-aliasing", "animations", "smooth-curves", "capture", "static-only", "minimal-memory", "nb", "embedded-graphics-simulator"] }
default = basic-charts, integer-math, std

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

std default capture? = animations, floating-point

std/no_std support
Enhanced features for std environments

Affects time::StdTimeProvider

no_std = floating-point

Use micromath for no_std floating-point operations

floating-point anti-aliasing? no_std? smooth-curves? std = micromath

Math backend features - mutually exclusive
Full floating-point math with micromath

Affects backends::FloatingPointBackend, math::Number

libm-math = libm

Alternative floating-point with libm

Affects backends::LibmBackend

fixed-point = fixed

Fixed-point arithmetic

Affects math::Number, backends::FixedPointBackend

integer-math default

Integer-only math (most constrained)

Affects backends::IntegerBackend, math::Number

cordic-math = cordic, fixed

CORDIC-based trigonometric functions

Affects backends::CordicBackend, backends::FixedPointBackend

basic-charts default color-support? = bar, line, pie

Chart type features

advanced-charts = custom, gauge, line, scatter, stacked-charts
line advanced-charts? basic-charts

Affects chart::line, chart::curve, fluent::FluentLineChartBuilder, fluent::quick.line_chart, fluent::quick.professional_line_chart, fluent::quick.embedded_line_chart, prelude::types.Rgb565LineChart, prelude::types.Rgb565LineChartBuilder, prelude::types.Rgb565CurveChart, prelude::types.Rgb565CurveChartBuilder, prelude::quick.line_chart, prelude::quick.professional_line_chart, prelude::quick.curve_chart, prelude::quick.professional_curve_chart

bar basic-charts

Affects chart::bar, fluent::FluentBarChartBuilder, fluent::quick.bar_chart

stacked-charts advanced-charts? = stacked-bars, stacked-lines

Affects chart::stacked

stacked-bars stacked-lines stacked-charts?
pie basic-charts = donut

Affects chart::pie

donut pie?
scatter advanced-charts?

Affects chart::scatter

gauge advanced-charts?

Affects chart::gauge

custom advanced-charts?

Affects chart::custom

color-support = basic-charts

Rendering features
Color support requires basic chart functionality for doctests

Affects prelude::quick.default_colors, prelude::quick.professional_colors, prelude::quick.pastel_colors, prelude::quick.vibrant_colors, prelude::quick.nature_colors, prelude::quick.ocean_colors, prelude::quick.sunset_colors, prelude::quick.cyberpunk_colors, prelude::quick.minimal_colors, prelude::quick.retro_colors, colors::rgb565_palettes, gradient::GradientInterpolation, gradient::RadialGradientInterpolation

anti-aliasing = floating-point

Requires floating-point math

animations std

Affects bar::AnimatedBarChart, bar::AnimatedBarChartBuilder, line::AnimatedLineChart, line::AnimatedLineChartBuilder, traits::StreamingChart, traits::AnimatedChart, traits::AnimationRenderer, data::streaming, point::Interpolatable, series::SlidingWindowSeries, error::AnimationError, error::AnimationResult, embedded-charts::animation, prelude::types.StandardSlidingWindow, render::AnimationFrameRenderer

smooth-curves = floating-point

Bezier curves require floating-point

capture = std

Screenshot and GIF capture functionality

static-only minimal-memory?

Memory optimization features
Only static allocation, no dynamic features

minimal-memory = static-only

Minimal memory footprint

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.

nb implicit feature

Enables nb

nb:

Minimal non-blocking I/O layer

micromath floating-point?

Enables micromath

Math backend dependencies

libm libm-math?
fixed cordic-math? fixed-point?
cordic cordic-math?
embedded-graphics-simulator implicit feature

Enables embedded-graphics-simulator

Development and testing dependencies