Cargo Features

[dependencies]
serde_bencoded = { version = "0.3.2", default-features = false, features = ["sort_dictionary"] }
default = sort_dictionary

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

sort_dictionary default

Enables sort by keys when serializing to bencode dictionary.