From 3e7db41dd9cb4550d59b130e10b6188bcc919499 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Tue, 27 Apr 2021 17:44:53 +1000 Subject: [PATCH] Release v0.1.0 (#4) --- .github/workflows/test-suite.yml | 4 +--- Cargo.toml | 6 +++--- README.md | 2 ++ 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 14a4257f..c4a77b06 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -20,13 +20,11 @@ jobs: - name: Check formatting with cargo fmt run: cargo fmt --all -- --check test: - name: cargo-fmt + name: test runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Get latest version of stable Rust run: rustup update stable - - name: Check formatting with cargo fmt - run: cargo fmt --all -- --check - name: Run tests run: cargo test --release diff --git a/Cargo.toml b/Cargo.toml index 94b377be..06e0184e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +9,8 @@ name = "superstruct" proc-macro = true [dependencies] -darling = "0.12.2" +darling = "0.12.4" itertools = "0.10.0" -proc-macro2 = "1.0.24" +proc-macro2 = "1.0.26" quote = "1.0.9" -syn = "1.0.62" +syn = "1.0.70" diff --git a/README.md b/README.md index 8f44725c..e5d36b4b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ SuperStruct =========== +![test status](https://github.com/sigp/superstruct/actions/workflows/test-suite.yml/badge.svg) + SuperStruct is a library for working with a family of related struct _variants_, where each variant shares some common fields, and adds in unique fields of its own. Its design is informed by the implementation of blockchain consensus upgrades, which often change core data structures by removing some old fields and replacing them with new ones.