Closed
Description
Hi,
the way features work in cargo is that any crate in your dependency tree can enable additional features for its dependencies, and each dependency ("crate") is only compiled once with all features merged; thus they must only add additional "APIs" without breaking what was before.
I.e. enabling the encoding
feature should provide new structs and functions (or just improve existing ones without changing their signature).
Also the reader::Decoder
struct is not public and not documented, but Reader::decoder()
is... I guess either both or none should be public.