Cargo Features

[dependencies]
sonic = { version = "0.6.1", default-features = false, features = ["nightly", "ws", "serde_codegen"] }
default = serde_codegen

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

nightly = serde_macros

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.

serde_macros nightly?
ws implicit feature

Enables ws ^0.5.0

ws:

Lightweight, event-driven WebSockets for Rust

serde_codegen build default

Enables serde_codegen ^0.8.2