Cargo Features

[dependencies]
smol-rgb = { version = "0.3.1", default-features = false, features = ["std", "libm", "bytemuck", "serde", "rand"] }
default = std

The std feature is set by default whenever smol-rgb is added without default-features = false somewhere in the dependency tree.

std default

Features from optional dependencies

libm implicit feature

Enables libm

libm:

libm in pure Rust

bytemuck implicit feature

Enables bytemuck

bytemuck:

A crate for mucking around with piles of bytes

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

rand implicit feature

Enables rand

rand:

Random number generators and other randomness functionality