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 wheneverserde_bencoded
is added without
somewhere in the dependency tree.default-features = false - sort_dictionary default
-
Enables sort by keys when serializing to bencode dictionary.