Cargo Features

[dependencies]
async-opcua-server = { version = "0.14.0", default-features = false, features = ["generated-address-space", "json", "discovery-server-registration"] }
default = generated-address-space

The generated-address-space feature is set by default whenever async-opcua-server is added without default-features = false somewhere in the dependency tree.

generated-address-space default = async-opcua-core-namespace

Includes all the code to populate the address space with the default node set. This is something that embedded systems may or may not require.

json

Includes serialize/deserialize for OPC-UA types.

Enables json of async-opcua-types

discovery-server-registration = async-opcua-client

Allows a server to register itself with a local discovery server. It does so by becoming a client to the LDS,
which brings in a dependency to async-opcua-client. Omitting the feature saves some memory.

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.

async-opcua-client discovery-server-registration?
async-opcua-core-namespace generated-address-space