From 1ea9ee051db4bc29c839875f981f12440758889b Mon Sep 17 00:00:00 2001 From: Michael Uti Date: Thu, 1 Aug 2024 17:05:57 +0100 Subject: [PATCH] ci: fix --- .github/workflows/check_crate.yml | 5 +++-- implementations/rust/ockam/ockam_api/Cargo.toml | 10 +++++----- .../rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md | 5 +++++ .../rust/ockam/ockam_rust_elixir_nifs/Cargo.toml | 8 ++++---- 4 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 implementations/rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md diff --git a/.github/workflows/check_crate.yml b/.github/workflows/check_crate.yml index b650520a884..2d2c7dd6d23 100644 --- a/.github/workflows/check_crate.yml +++ b/.github/workflows/check_crate.yml @@ -164,8 +164,9 @@ jobs: - name: Check Cargo.toml To Ensure That All 3rd Party Crates Have Specified Versions run: | set -ex + cargo install toml2json@1.3.1 - regex="^[\^|=]*[0-9]+(\.[0-9]+)*(\.[0-9]+)*$" + regex="^[\^|=]*[0-9]+(\.[0-9]+)*(\.[0-9]+)*" for crate in $(find implementations/rust/ockam -name Cargo.toml); do @@ -185,7 +186,7 @@ jobs: echo "crate_name: $crate_name" echo "version: $version" else - echo "No version found for $crate_name $version" + echo "No version found for $crate_name $version in crate $crate" exit 1 fi done diff --git a/implementations/rust/ockam/ockam_api/Cargo.toml b/implementations/rust/ockam/ockam_api/Cargo.toml index 4370a5519b2..f31c9ec6990 100644 --- a/implementations/rust/ockam/ockam_api/Cargo.toml +++ b/implementations/rust/ockam/ockam_api/Cargo.toml @@ -107,8 +107,8 @@ tracing-subscriber = { version = "0.3.18", features = ["json"] } url = "2.5.2" ockam_multiaddr = { path = "../ockam_multiaddr", version = "0.57.0", features = ["cbor", "serde"] } -ockam_transport_core = { path = "../ockam_transport_core" } -ockam_transport_tcp = { path = "../ockam_transport_tcp", version = "^0.120.0", default-features = false, features = ["std"] } +ockam_transport_core = { path = "../ockam_transport_core", version = "^0.86.0" } +ockam_transport_tcp = { path = "../ockam_transport_tcp", version = "^0.119.0", default-features = false, features = ["std"] } tonic = "0.11" [dependencies.ockam_core] @@ -155,9 +155,9 @@ hex = "0.4.3" indexmap = "2.2.6" mockall = "0.12" multimap = "0.10.0" -ockam_macros = { path = "../ockam_macros", features = ["std"] } -ockam_transport_core = { path = "../ockam_transport_core" } -ockam_transport_tcp = { path = "../ockam_transport_tcp", default-features = false } +ockam_macros = { path = "../ockam_macros", features = ["std"], version = "^0.34.0" } +ockam_transport_core = { path = "../ockam_transport_core", version = "^0.86.0" } +ockam_transport_tcp = { path = "../ockam_transport_tcp", default-features = false, version = "^0.119.0" } once_cell = { version = "1", default-features = false } opentelemetry_sdk = { version = "0.23.0", features = ["logs", "metrics", "trace", "rt-tokio", "testing"], default-features = false } pretty_assertions = "1.4.0" diff --git a/implementations/rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md b/implementations/rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md new file mode 100644 index 00000000000..d6637e04998 --- /dev/null +++ b/implementations/rust/ockam/ockam_rust_elixir_nifs/CHANGELOG.md @@ -0,0 +1,5 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). diff --git a/implementations/rust/ockam/ockam_rust_elixir_nifs/Cargo.toml b/implementations/rust/ockam/ockam_rust_elixir_nifs/Cargo.toml index 5e3e50b7a27..fcee0c726e0 100644 --- a/implementations/rust/ockam/ockam_rust_elixir_nifs/Cargo.toml +++ b/implementations/rust/ockam/ockam_rust_elixir_nifs/Cargo.toml @@ -37,10 +37,10 @@ rust-crypto = ["ockam_vault/rust-crypto"] hex = { version = "0.4", default-features = false } lazy_static = "1.5.0" minicbor = { version = "0.24.1", features = ["alloc", "derive"] } -ockam_core = { path = "../ockam_core", default-features = false, features = ["std"] } -ockam_identity = { path = "../ockam_identity", default-features = false, features = ["std", "software_vault"] } -ockam_vault = { path = "../ockam_vault", default-features = false, features = ["std", "storage"] } -ockam_vault_aws = { path = "../ockam_vault_aws" } +ockam_core = { path = "../ockam_core", default-features = false, features = ["std"], version = "^0.112.0" } +ockam_identity = { path = "../ockam_identity", default-features = false, features = ["std", "software_vault"], version = "^0.116.0" } +ockam_vault = { path = "../ockam_vault", default-features = false, features = ["std", "storage"], version = "^0.114.0" } +ockam_vault_aws = { path = "../ockam_vault_aws", version = "^0.40.0" } # Enable credentials-sso feature in ockam_vault_aws for use on sso environments (like dev machines) rustler = "0.33.0" time = "0.3.36"