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 wheneveropcua-server
is added without
somewhere in the dependency tree.default-features = false - 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.