Cargo Features

[dependencies]
emoji256 = { version = "0.2.2", default-features = false, features = ["std", "alloc", "serde"] }
default = std

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

std default = alloc
alloc std

Affects emoji256::encode, emoji256::decode, serde::serialize

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects emoji256::serde