Cargo Features

async-opcua-types has no features set by default.

[dependencies]
async-opcua-types = { version = "0.14.0", features = ["json", "xml"] }
json = struson

Enables json of async-opcua-macros

Affects extension_object::DynEncodable.encode_json, extension_object::DynEncodable.json_type_id, async-opcua-types::json, type_loader::json_decode_to_enc, type_loader::TypeLoader.load_from_json

xml = async-opcua-xml

Enables xml of async-opcua-macros

Affects extension_object::DynEncodable.xml_type_id, async-opcua-types::xml, type_loader::xml_decode_to_enc, type_loader::TypeLoader.load_from_xml

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.

struson json?
async-opcua-xml xml?