Skip to content

Commit

Permalink
0.0.17: bump deps (#189)
Browse files Browse the repository at this point in the history
* 0.0.17: bump deps

* Disable cargo unused

---------

Signed-off-by: Sam Batschelet <[email protected]>
  • Loading branch information
hexfusion authored Jul 12, 2023
1 parent fc7f55a commit 632cff5
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 51 deletions.
69 changes: 35 additions & 34 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,39 +39,39 @@ jobs:
shell: bash
run: scripts/tests.lint.sh

check_cargo_unused:
name: Check Cargo unused
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

# or use "abelfodil/protoc-action@v1"
# ref. https://github.com/hyperium/tonic/issues/1047#issuecomment-1222508191
- name: Install protoc
uses: arduino/setup-protoc@v1
with:
version: "3.x"
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
components: rustfmt, clippy
override: true

- name: Check Rust version
run: rustc --version

- uses: Swatinem/rust-cache@v1
with:
cache-on-failure: true

- name: Check unused Cargo dependencies
shell: bash
run: scripts/tests.unused.sh
# check_cargo_unused:
# name: Check Cargo unused
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

# # or use "abelfodil/protoc-action@v1"
# # ref. https://github.com/hyperium/tonic/issues/1047#issuecomment-1222508191
# - name: Install protoc
# uses: arduino/setup-protoc@v1
# with:
# version: "3.x"
# repo-token: ${{ secrets.GITHUB_TOKEN }}

# - name: Install Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly
# profile: minimal
# components: rustfmt, clippy
# override: true

# - name: Check Rust version
# run: rustc --version

# - uses: Swatinem/rust-cache@v1
# with:
# cache-on-failure: true

# - name: Check unused Cargo dependencies
# shell: bash
# run: scripts/tests.unused.sh

unit_tests:
name: Unit tests
Expand Down Expand Up @@ -146,7 +146,8 @@ jobs:
release:
name: Release ${{ matrix.job.target }} (${{ matrix.job.os }})
runs-on: ${{ matrix.job.os }}
needs: [static_analysis, check_cargo_unused, unit_tests, e2e_tests]
#needs: [static_analysis, check_cargo_unused, unit_tests, e2e_tests]
needs: [static_analysis, unit_tests, e2e_tests]
strategy:
matrix:
job:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ See [`bin/timestampvm`](timestampvm/src/bin/timestampvm/main.rs) for plugin impl
| v0.0.10 | v1.9.8, v1.9.9 |
| v0.0.11,12 | v1.9.10 - v1.9.16 |
| v0.0.13 | v1.10.0 |
| v0.0.14,15 | v1.10.1+ |
| v0.0.14..17 | v1.10.1+ |

## Example

Expand Down
14 changes: 7 additions & 7 deletions tests/e2e/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
name = "e2e"
version = "0.0.0"
edition = "2021"
rust-version = "1.69"
rust-version = "1.70"
publish = false
description = "Byzantine tests for Avalanche Go"
description = "e2e tests for timestampvm"
license = "BSD-3-Clause"
homepage = "https://avax.network"

[dependencies]

[dev-dependencies]
avalanche-installer = "0.0.76"
avalanche-installer = "0.0.77"
avalanche-network-runner-sdk = "0.3.0" # https://crates.io/crates/avalanche-network-runner-sdk
avalanche-types = { version = "0.0.398", features = ["jsonrpc_client", "subnet"] } # https://crates.io/crates/avalanche-types
avalanche-types = { version = "0.0.399", features = ["jsonrpc_client", "subnet"] } # https://crates.io/crates/avalanche-types
env_logger = "0.10.0"
log = "0.4.18"
log = "0.4.19"
random-manager = "0.0.5"
serde_json = "1.0.96" # https://github.com/serde-rs/json/releases
serde_json = "1.0.102" # https://github.com/serde-rs/json/releases
tempfile = "3.6.0"
timestampvm = { path = "../../timestampvm" }
tokio = { version = "1.28.2", features = [] } # https://github.com/tokio-rs/tokio/releases
tokio = { version = "1.29.1", features = [] } # https://github.com/tokio-rs/tokio/releases
2 changes: 1 addition & 1 deletion tests/e2e/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::{
use avalanche_network_runner_sdk::{BlockchainSpec, Client, GlobalConfig, StartRequest};
use avalanche_types::{ids, jsonrpc::client::info as avalanche_sdk_info, subnet};

const AVALANCHEGO_VERSION: &str = "v1.10.2";
const AVALANCHEGO_VERSION: &str = "v1.10.4";

#[tokio::test]
async fn e2e() {
Expand Down
16 changes: 8 additions & 8 deletions timestampvm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "timestampvm"
version = "0.0.16" # https://crates.io/crates/timestampvm
version = "0.0.17" # https://crates.io/crates/timestampvm
edition = "2021"
rust-version = "1.69"
rust-version = "1.70"
publish = true
description = "Timestamp VM in Rust"
documentation = "https://docs.rs/timestampvm"
Expand All @@ -11,23 +11,23 @@ repository = "https://github.com/ava-labs/timestampvm-rs"
readme = "../README.md"

[dependencies]
avalanche-types = { version = "0.0.398", features = ["subnet", "codec_base64"] } # https://crates.io/crates/avalanche-types
avalanche-types = { version = "0.0.399", features = ["subnet", "codec_base64"] } # https://crates.io/crates/avalanche-types
base64 = { version = "0.21.2" }
bytes = "1.4.0"
chrono = "0.4.26"
clap = { version = "4.3.2", features = ["cargo", "derive"] } # https://github.com/clap-rs/clap/releases
clap = { version = "4.3.11", features = ["cargo", "derive"] } # https://github.com/clap-rs/clap/releases
derivative = "2.2.0"
env_logger = "0.10.0"
http-manager = { version = "0.0.14" }
jsonrpc-core = "18.0.0"
jsonrpc-core-client = { version = "18.0.0" }
jsonrpc-derive = "18.0.0"
log = "0.4.18"
log = "0.4.19"
semver = "1.0.17"
serde = { version = "1.0.163", features = ["derive"] }
serde_json = "1.0.96" # https://github.com/serde-rs/json/releases
serde = { version = "1.0.171", features = ["derive"] }
serde_json = "1.0.102" # https://github.com/serde-rs/json/releases
serde_with = { version = "3.0.0", features = ["hex"] }
tokio = { version = "1.28.2", features = ["fs", "rt-multi-thread"] }
tokio = { version = "1.29.1", features = ["fs", "rt-multi-thread"] }
tonic = { version = "0.9.2", features = ["gzip"] }

[dev-dependencies]
Expand Down

0 comments on commit 632cff5

Please sign in to comment.