Cargo Features

[dependencies]
sockets = { version = "0.1.2", default-features = false, features = ["serde", "json"] }
default = json

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

serde json

Enables serde

json default = serde

Enables serde_json

sockets has 3 features without comments.