#opc-ua #ua #opc

async-opcua-nodes

OPC UA node representation and import framework

1 unstable release

new 0.14.0 Jan 24, 2025

#473 in Embedded development

Download history 106/week @ 2025-01-21

106 downloads per month
Used in 4 crates

MPL-2.0 license

4.5MB
84K SLoC

Async OPC-UA Nodes

Part of async-opcua, a general purpose OPC-UA library in rust.

This library defines types used mainly in the async-opcua-server library as part of in-memory node managers, but also utilities for importing NodeSet2 XML files to Rust.

Primarily, this library defines a type for each OPC-UA NodeClass Object, Variable, Method, View, ObjectType, VariableType, DataType, and ReferenceType, as well as builders for all of these. There's also a common enum over all of these NodeType.

A few other common types are also defined here, such as the TypeTree trait, used in the server to provide the server with a view of all the types defined on the server, and the NodeSet2Import type, used to import NodeSet2 files into memory.

Features

  • xml adds support for reading NodeSet2 XML files into NodeType.

lib.rs:

The nodes crate contains core types for generated address spaces.

This includes types for each node class, some common enums for references, core event types, and core types for node set import.

Dependencies

~5–7.5MB
~125K SLoC