Cargo Features

[dependencies]
anterofit = { version = "0.2.0", default-features = false, features = ["json", "xml", "nightly", "service-attr", "clippy"] }
default = json, xml

These default features are set whenever anterofit is added without default-features = false somewhere in the dependency tree.

json default = serde_json
xml default = serde-xml-rs
nightly

Enables nightly of multipart ^0.15

service-attr

Enable this when using the #[service] attribute from anterofit_service_attr

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality [may be removed in the future](https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html).

serde_json json

Affects serialize::json, adapter::JsonAdapter

serde-xml-rs xml

Enables serde-xml-rs ^0.2.1

clippy implicit feature

Enables clippy

clippy:

A bunch of helpful lints to avoid common pitfalls in Rust