diff --git a/CHANGELOG.md b/CHANGELOG.md index dd52b1838..9c3a818c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.10 +- Focus on asynchronous behaviour, especially in server's message processing but also in client. + ## 0.9 - Multiple chunk support in client and server, sending and receiving. - Upgrade from Tokio 0.1 to 1.x long term support and use `async` / `await` semantics to simplify tasks diff --git a/Cargo.lock b/Cargo.lock index ef0507001..b01246846 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1611,7 +1611,7 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "opcua-certificate-creator" -version = "0.9.0" +version = "0.10.0" dependencies = [ "opcua-crypto", "pico-args", @@ -1619,7 +1619,7 @@ dependencies = [ [[package]] name = "opcua-chess-server" -version = "0.9.0" +version = "0.10.0" dependencies = [ "opcua-server", "uci", @@ -1627,7 +1627,7 @@ dependencies = [ [[package]] name = "opcua-client" -version = "0.9.0" +version = "0.10.0" dependencies = [ "chrono", "futures 0.3.19", @@ -1644,7 +1644,7 @@ dependencies = [ [[package]] name = "opcua-console-logging" -version = "0.9.0" +version = "0.10.0" dependencies = [ "chrono", "env_logger", @@ -1654,7 +1654,7 @@ dependencies = [ [[package]] name = "opcua-core" -version = "0.9.0" +version = "0.10.0" dependencies = [ "bytes 1.1.0", "chrono", @@ -1676,7 +1676,7 @@ dependencies = [ [[package]] name = "opcua-crypto" -version = "0.9.0" +version = "0.10.0" dependencies = [ "bytes 0.4.12", "chrono", @@ -1697,7 +1697,7 @@ dependencies = [ [[package]] name = "opcua-demo-server" -version = "0.9.0" +version = "0.10.0" dependencies = [ "chrono", "lazy_static", @@ -1711,7 +1711,7 @@ dependencies = [ [[package]] name = "opcua-discovery-client" -version = "0.9.0" +version = "0.10.0" dependencies = [ "opcua-client", "opcua-console-logging", @@ -1720,7 +1720,7 @@ dependencies = [ [[package]] name = "opcua-event-client" -version = "0.9.0" +version = "0.10.0" dependencies = [ "opcua-client", "opcua-console-logging", @@ -1729,7 +1729,7 @@ dependencies = [ [[package]] name = "opcua-integration" -version = "0.9.0" +version = "0.10.0" dependencies = [ "chrono", "log 0.4.14", @@ -1742,7 +1742,7 @@ dependencies = [ [[package]] name = "opcua-modbus-server" -version = "0.9.0" +version = "0.10.0" dependencies = [ "futures 0.1.31", "opcua-console-logging", @@ -1760,7 +1760,7 @@ dependencies = [ [[package]] name = "opcua-mqtt-client" -version = "0.9.0" +version = "0.10.0" dependencies = [ "opcua-client", "opcua-console-logging", @@ -1770,7 +1770,7 @@ dependencies = [ [[package]] name = "opcua-server" -version = "0.9.0" +version = "0.10.0" dependencies = [ "actix-web", "bitflags", @@ -1796,7 +1796,7 @@ dependencies = [ [[package]] name = "opcua-simple-client" -version = "0.9.0" +version = "0.10.0" dependencies = [ "opcua-client", "opcua-console-logging", @@ -1805,7 +1805,7 @@ dependencies = [ [[package]] name = "opcua-simple-server" -version = "0.9.0" +version = "0.10.0" dependencies = [ "chrono", "log 0.4.14", @@ -1815,7 +1815,7 @@ dependencies = [ [[package]] name = "opcua-types" -version = "0.9.0" +version = "0.10.0" dependencies = [ "base64 0.12.3", "bitflags", @@ -1833,7 +1833,7 @@ dependencies = [ [[package]] name = "opcua-web-client" -version = "0.9.0" +version = "0.10.0" dependencies = [ "actix", "actix-web", diff --git a/client/Cargo.toml b/client/Cargo.toml index 9096d4ff5..e907ff9cc 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion description = "OPC UA client API" authors = ["Adam Lock "] homepage = "https://github.com/locka99/opcua" @@ -31,12 +31,12 @@ lazy_static = "1.4.0" [dependencies.opcua-types] path = "../types" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-crypto] path = "../crypto" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-core] path = "../core" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion diff --git a/console-logging/Cargo.toml b/console-logging/Cargo.toml index 453b93cfc..4e7971d68 100644 --- a/console-logging/Cargo.toml +++ b/console-logging/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-console-logging" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion description = "Logging to the console for OPC UA used by client and server" authors = ["Adam Lock "] homepage = "https://github.com/locka99/opcua" diff --git a/core/Cargo.toml b/core/Cargo.toml index 41ba4912b..8a6517bd9 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-core" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion description = "Core components for OPC UA used by client and server" authors = ["Adam Lock "] homepage = "https://github.com/locka99/opcua" @@ -35,11 +35,11 @@ url = "1.6" [dependencies.opcua-types] path = "../types" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-crypto] path = "../crypto" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dev-dependencies] tempdir = "0.3" diff --git a/crypto/Cargo.toml b/crypto/Cargo.toml index 59f3b309c..a93db0ef7 100644 --- a/crypto/Cargo.toml +++ b/crypto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-crypto" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion description = "Encryption / decryption used by OPC UA client and server" authors = ["Adam Lock "] homepage = "https://github.com/locka99/opcua" @@ -34,11 +34,11 @@ foreign-types = "0.3" [dependencies.opcua-types] path = "../types" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dev-dependencies.opcua-console-logging] path = "../console-logging" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dev-dependencies] tempdir = "0.3" diff --git a/integration/Cargo.toml b/integration/Cargo.toml index 6cb2760b5..d6a068974 100644 --- a/integration/Cargo.toml +++ b/integration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-integration" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -10,20 +10,20 @@ chrono = "0.4" [dev-dependencies.opcua-server] path = "../server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dev-dependencies.opcua-client] path = "../client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dev-dependencies.opcua-crypto] path = "../crypto" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dev-dependencies.opcua-core] path = "../core" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dev-dependencies.opcua-console-logging] path = "../console-logging" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion diff --git a/samples/chess-server/Cargo.toml b/samples/chess-server/Cargo.toml index ad6c7e4e7..94802c4ea 100644 --- a/samples/chess-server/Cargo.toml +++ b/samples/chess-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-chess-server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -9,4 +9,4 @@ uci = "0.1.1" [dependencies.opcua-server] path = "../../server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion diff --git a/samples/demo-server/Cargo.toml b/samples/demo-server/Cargo.toml index 0bf0fe632..baf65996f 100644 --- a/samples/demo-server/Cargo.toml +++ b/samples/demo-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-demo-server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -17,9 +17,9 @@ pico-args = "0.3" [dependencies.opcua-server] path = "../../server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion features = ["http", "discovery-server-registration"] [dependencies.opcua-console-logging] path = "../../console-logging" -version = "0.9.0" # OPCUARustVersion \ No newline at end of file +version = "0.10.0" # OPCUARustVersion \ No newline at end of file diff --git a/samples/discovery-client/Cargo.toml b/samples/discovery-client/Cargo.toml index c0c4159a6..7ee0f9d6a 100644 --- a/samples/discovery-client/Cargo.toml +++ b/samples/discovery-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-discovery-client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -9,8 +9,8 @@ pico-args = "0.3" [dependencies.opcua-client] path = "../../client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-console-logging] path = "../../console-logging" -version = "0.9.0" # OPCUARustVersion \ No newline at end of file +version = "0.10.0" # OPCUARustVersion \ No newline at end of file diff --git a/samples/event-client/Cargo.toml b/samples/event-client/Cargo.toml index 767726e5b..208ef12ad 100644 --- a/samples/event-client/Cargo.toml +++ b/samples/event-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-event-client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -9,8 +9,8 @@ pico-args="0.3" [dependencies.opcua-client] path = "../../client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-console-logging] path = "../../console-logging" -version = "0.9.0" # OPCUARustVersion \ No newline at end of file +version = "0.10.0" # OPCUARustVersion \ No newline at end of file diff --git a/samples/modbus-server/Cargo.toml b/samples/modbus-server/Cargo.toml index 5cbbb38c9..782f63259 100644 --- a/samples/modbus-server/Cargo.toml +++ b/samples/modbus-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-modbus-server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -18,8 +18,8 @@ serde_yaml = "0.8" [dependencies.opcua-server] path = "../../server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-console-logging] path = "../../console-logging" -version = "0.9.0" # OPCUARustVersion \ No newline at end of file +version = "0.10.0" # OPCUARustVersion \ No newline at end of file diff --git a/samples/mqtt-client/Cargo.toml b/samples/mqtt-client/Cargo.toml index 4636e901e..c10a1701e 100644 --- a/samples/mqtt-client/Cargo.toml +++ b/samples/mqtt-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-mqtt-client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -11,8 +11,8 @@ rumqtt = { git = "https://github.com/AtherEnergy/rumqtt.git", rev = "83b46945250 [dependencies.opcua-client] path = "../../client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-console-logging] path = "../../console-logging" -version = "0.9.0" # OPCUARustVersion \ No newline at end of file +version = "0.10.0" # OPCUARustVersion \ No newline at end of file diff --git a/samples/simple-client/Cargo.toml b/samples/simple-client/Cargo.toml index 7ab49b9af..c06db7967 100644 --- a/samples/simple-client/Cargo.toml +++ b/samples/simple-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-simple-client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -9,8 +9,8 @@ pico-args="0.3" [dependencies.opcua-client] path = "../../client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-console-logging] path = "../../console-logging" -version = "0.9.0" # OPCUARustVersion \ No newline at end of file +version = "0.10.0" # OPCUARustVersion \ No newline at end of file diff --git a/samples/simple-server/Cargo.toml b/samples/simple-server/Cargo.toml index 3f7eebb0b..6e8bc2411 100644 --- a/samples/simple-server/Cargo.toml +++ b/samples/simple-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-simple-server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -10,8 +10,8 @@ log = "0.4" [dependencies.opcua-server] path = "../../server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-console-logging] path = "../../console-logging" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion diff --git a/samples/web-client/Cargo.toml b/samples/web-client/Cargo.toml index c405b0699..a0d42d78e 100644 --- a/samples/web-client/Cargo.toml +++ b/samples/web-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-web-client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2018" @@ -15,8 +15,8 @@ tokio = { version = "1", features = ["full"] } [dependencies.opcua-client] path = "../../client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-console-logging] path = "../../console-logging" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion diff --git a/server/Cargo.toml b/server/Cargo.toml index e0b46d118..eebdb4ebe 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-server" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion description = "OPC UA server API" authors = ["Adam Lock "] homepage = "https://github.com/locka99/opcua" @@ -57,21 +57,21 @@ optional = true [dependencies.opcua-types] path = "../types" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-crypto] path = "../crypto" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-core] path = "../core" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion [dependencies.opcua-client] path = "../client" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion optional = true [dev-dependencies.opcua-console-logging] path = "../console-logging" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion diff --git a/tools/certificate-creator/Cargo.toml b/tools/certificate-creator/Cargo.toml index 84733d692..189b45de3 100644 --- a/tools/certificate-creator/Cargo.toml +++ b/tools/certificate-creator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-certificate-creator" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion description = "OPC UA certificate creator" authors = ["Adam Lock "] homepage = "https://github.com/locka99/opcua" @@ -18,8 +18,8 @@ pico-args = "0.3" [dependencies.opcua-crypto] path = "../../crypto" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion #[dependencies.opcua-core] #path = "../../core" -#version = "0.9.0" # OPCUARustVersion +#version = "0.10.0" # OPCUARustVersion diff --git a/types/Cargo.toml b/types/Cargo.toml index 57b9c42a0..d4da4e96a 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-types" -version = "0.9.0" # OPCUARustVersion +version = "0.10.0" # OPCUARustVersion description = "OPC UA types and constants" authors = ["Adam Lock "] homepage = "https://github.com/locka99/opcua"