From 5546db36d2e83e0a090ad7367b61249faca3edb1 Mon Sep 17 00:00:00 2001 From: Adam Lock Date: Mon, 1 Jan 2024 17:34:44 +0000 Subject: [PATCH] Bump version up to 0.13.0 --- CHANGELOG.md | 3 +++ Cargo.lock | 22 ++++++++++----------- docs/client.md | 2 +- docs/server.md | 4 ++-- integration/Cargo.toml | 4 ++-- lib/Cargo.toml | 2 +- samples/chess-server/Cargo.toml | 4 ++-- samples/demo-server/Cargo.toml | 4 ++-- samples/discovery-client/Cargo.toml | 4 ++-- samples/event-client/Cargo.toml | 4 ++-- samples/mqtt-client/Cargo.toml | 4 ++-- samples/simple-client/Cargo.toml | 4 ++-- samples/simple-server/Cargo.toml | 4 ++-- samples/web-client/Cargo.toml | 4 ++-- tools/certificate-creator/Cargo.toml | 8 ++------ tools/publish.sh | 29 ---------------------------- 16 files changed, 38 insertions(+), 68 deletions(-) delete mode 100644 tools/publish.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 64b2fabd8..3e96428b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 0.13 +- In progress + ## 0.12 - JSON serialization of most built-in data types - Update to Rust 2021 profile diff --git a/Cargo.lock b/Cargo.lock index aef3abff5..18a56761d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1881,7 +1881,7 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "opcua" -version = "0.12.0" +version = "0.13.0" dependencies = [ "actix-files", "actix-web 4.4.1", @@ -1916,7 +1916,7 @@ dependencies = [ [[package]] name = "opcua-certificate-creator" -version = "0.12.0" +version = "0.13.0" dependencies = [ "opcua", "pico-args", @@ -1924,7 +1924,7 @@ dependencies = [ [[package]] name = "opcua-chess-server" -version = "0.12.0" +version = "0.13.0" dependencies = [ "opcua", "uci", @@ -1932,7 +1932,7 @@ dependencies = [ [[package]] name = "opcua-demo-server" -version = "0.12.0" +version = "0.13.0" dependencies = [ "chrono", "lazy_static", @@ -1946,7 +1946,7 @@ dependencies = [ [[package]] name = "opcua-discovery-client" -version = "0.12.0" +version = "0.13.0" dependencies = [ "opcua", "pico-args", @@ -1954,7 +1954,7 @@ dependencies = [ [[package]] name = "opcua-event-client" -version = "0.12.0" +version = "0.13.0" dependencies = [ "opcua", "pico-args", @@ -1962,7 +1962,7 @@ dependencies = [ [[package]] name = "opcua-integration" -version = "0.12.0" +version = "0.13.0" dependencies = [ "chrono", "log 0.4.19", @@ -1971,7 +1971,7 @@ dependencies = [ [[package]] name = "opcua-mqtt-client" -version = "0.12.0" +version = "0.13.0" dependencies = [ "opcua", "pico-args", @@ -1980,7 +1980,7 @@ dependencies = [ [[package]] name = "opcua-simple-client" -version = "0.12.0" +version = "0.13.0" dependencies = [ "opcua", "pico-args", @@ -1988,7 +1988,7 @@ dependencies = [ [[package]] name = "opcua-simple-server" -version = "0.12.0" +version = "0.13.0" dependencies = [ "chrono", "log 0.4.19", @@ -1997,7 +1997,7 @@ dependencies = [ [[package]] name = "opcua-web-client" -version = "0.12.0" +version = "0.13.0" dependencies = [ "actix", "actix-web 0.7.19", diff --git a/docs/client.md b/docs/client.md index 19212674b..956b40435 100644 --- a/docs/client.md +++ b/docs/client.md @@ -56,7 +56,7 @@ add that dependency: ```toml [dependencies] -opcua = { version = "0.11", features = ["client"] } +opcua = { version = "0.12", features = ["client"] } ``` ## Import types diff --git a/docs/server.md b/docs/server.md index 5c4da9179..9e4420b59 100644 --- a/docs/server.md +++ b/docs/server.md @@ -33,7 +33,7 @@ To use the server crate we need to add a dependency to the `Cargo.toml`. ``` [dependencies] -opcua = { "0.11", features = ["server"] } +opcua = { "0.12", features = ["server"] } ``` ## Import types @@ -252,7 +252,7 @@ In your `Cargo.toml`, ensure to add `console-logging` to your opcua features: ```toml [dependencies] -opcua = { "0.11", features = ["....", "console-logging"]} +opcua = { "0.12", features = ["....", "console-logging"]} ``` In your `main()`: diff --git a/integration/Cargo.toml b/integration/Cargo.toml index 7a6a376e6..9fed2037d 100644 --- a/integration/Cargo.toml +++ b/integration/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-integration" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2021" @@ -10,5 +10,5 @@ chrono = "0.4" [dev-dependencies.opcua] path = "../lib" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion features = ["all"] diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 36b04239f..66aad7f06 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion description = "OPC UA client and server API" authors = ["Adam Lock "] homepage = "https://github.com/locka99/opcua" diff --git a/samples/chess-server/Cargo.toml b/samples/chess-server/Cargo.toml index 69f5cfdfb..c3fee1b6b 100644 --- a/samples/chess-server/Cargo.toml +++ b/samples/chess-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-chess-server" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2021" @@ -9,5 +9,5 @@ uci = "0.1.1" [dependencies.opcua] path = "../../lib" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion features = ["server", "console-logging"] diff --git a/samples/demo-server/Cargo.toml b/samples/demo-server/Cargo.toml index a5d793e14..2e48132ce 100644 --- a/samples/demo-server/Cargo.toml +++ b/samples/demo-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-demo-server" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2021" @@ -18,5 +18,5 @@ tokio = { version = "1", features = ["full"] } [dependencies.opcua] path = "../../lib" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion features = ["all"] \ No newline at end of file diff --git a/samples/discovery-client/Cargo.toml b/samples/discovery-client/Cargo.toml index 0f5146478..b40e5d3fe 100644 --- a/samples/discovery-client/Cargo.toml +++ b/samples/discovery-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-discovery-client" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2021" @@ -9,5 +9,5 @@ pico-args = "0.5" [dependencies.opcua] path = "../../lib" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion features = ["client", "console-logging"] diff --git a/samples/event-client/Cargo.toml b/samples/event-client/Cargo.toml index c2fc1c578..3992235c7 100644 --- a/samples/event-client/Cargo.toml +++ b/samples/event-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-event-client" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2021" @@ -9,5 +9,5 @@ pico-args = "0.5" [dependencies.opcua] path = "../../lib" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion features = ["client", "console-logging"] diff --git a/samples/mqtt-client/Cargo.toml b/samples/mqtt-client/Cargo.toml index 9338fea77..c21e1bc42 100644 --- a/samples/mqtt-client/Cargo.toml +++ b/samples/mqtt-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-mqtt-client" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2021" @@ -10,5 +10,5 @@ rumqttc = "0.23" [dependencies.opcua] path = "../../lib" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion features = ["client", "console-logging"] diff --git a/samples/simple-client/Cargo.toml b/samples/simple-client/Cargo.toml index 49068ef46..f8cefaef4 100644 --- a/samples/simple-client/Cargo.toml +++ b/samples/simple-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-simple-client" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2021" @@ -9,5 +9,5 @@ pico-args = "0.5" [dependencies.opcua] path = "../../lib" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion features = ["client", "console-logging"] diff --git a/samples/simple-server/Cargo.toml b/samples/simple-server/Cargo.toml index eb8d422e9..1c176db00 100644 --- a/samples/simple-server/Cargo.toml +++ b/samples/simple-server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-simple-server" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2021" @@ -10,5 +10,5 @@ log = "0.4" [dependencies.opcua] path = "../../lib" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion features = ["server", "console-logging"] diff --git a/samples/web-client/Cargo.toml b/samples/web-client/Cargo.toml index 1afa2a92a..23db1d0ac 100644 --- a/samples/web-client/Cargo.toml +++ b/samples/web-client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-web-client" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion authors = ["Adam Lock "] edition = "2021" @@ -15,6 +15,6 @@ tokio = { version = "1", features = ["full"] } [dependencies.opcua] path = "../../lib" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion features = ["client", "console-logging"] diff --git a/tools/certificate-creator/Cargo.toml b/tools/certificate-creator/Cargo.toml index b27f0e40d..bbabc909c 100644 --- a/tools/certificate-creator/Cargo.toml +++ b/tools/certificate-creator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "opcua-certificate-creator" -version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion description = "OPC UA certificate creator" authors = ["Adam Lock "] homepage = "https://github.com/locka99/opcua" @@ -18,8 +18,4 @@ pico-args = "0.5" [dependencies.opcua] path = "../../lib" -version = "0.12.0" # OPCUARustVersion - -#[dependencies.opcua-core] -#path = "../../core" -#version = "0.12.0" # OPCUARustVersion +version = "0.13.0" # OPCUARustVersion diff --git a/tools/publish.sh b/tools/publish.sh deleted file mode 100644 index 74c5a06ba..000000000 --- a/tools/publish.sh +++ /dev/null @@ -1,29 +0,0 @@ -cd .. - -echo "Publishing Types" -cd types && cargo publish -cd .. - -echo "Publishing Crypto" -cd crypto && cargo publish -cd .. - -echo "Publishing Core" -cd core && cargo publish -cd .. - -echo "Publishing Certificate Creator" -cd tools/certificate-creator && cargo publish -cd ../.. - -echo "Publishing Console Logging" -cd console-logging && cargo publish -cd .. - -echo "Publishing Client" -cd client && cargo publish -cd .. - -echo "Publishing Server" -cd server && cargo publish -cd .. \ No newline at end of file