pub fn add_features(entry: PackageEntry, config: StdlibConfig) -> PackageEntryExpand description
Returns entry with the thirty-three standard features added after the
features it holds, each once, in the order the module
documentation
lists them, with the sixteen configurable features constructed from the
fields of config.
A program declares its package, adds the standard features to it, and adds
its own features after them; the module documentation has an example. A
program that reads its settings as data uses add_features_from_settings
instead.