Cargo Features

[dependencies]
opcua-server = { version = "0.9.1", default-features = false, features = ["generated-address-space", "discovery-server-registration", "http", "vendored-openssl"] }
default = generated-address-space

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

generated-address-space default

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.

discovery-server-registration = 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 opcua-client. Omitting the feature saves some memory.

http = actix-web

Servers might want to show a web server with metric / diagnostic info

Affects opcua-server::http

vendored-openssl

OpenSSL can be compiled and statically linked to with this feature

Enables vendored-openssl of opcua-client and opcua-core

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.

actix-web http?

Enables actix-web ^0.7

opcua-client discovery-server-registration? vendored-openssl?