Cargo Features
[dependencies]
assembly-xml = { version = "0.3.0", default-features = false, features = ["serialize"] }
- default = serialize
-
The
serialize
feature is set by default wheneverassembly-xml
is added without
somewhere in the dependency tree.default-features = false - serialize default = serde
-
Enables serialize of quick-xml ^0.20
quick-xml:
Enables support for
serde
serialization and deserialization. When this feature is enabled, quick-xml provides serializer and deserializer for XML.This feature does NOT enables serializaton of the types inside quick-xml. If you need that, use the
serde-types
feature. "dep:" prefix only avalible from Rust 1.60
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.