diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 664199cd..b04374ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,8 +90,8 @@ jobs: # https://github.com/rust-lang/rustup/issues/2441 # # for more information. - rustup toolchain install 1.80.0 --no-self-update # [ref:rust_1.80.0] - rustup default 1.80.0 # [ref:rust_1.80.0] + rustup toolchain install 1.80.1 --no-self-update # [ref:rust_1.80.1] + rustup default 1.80.1 # [ref:rust_1.80.1] # Add the targets. rustup target add x86_64-pc-windows-msvc @@ -131,8 +131,8 @@ jobs: set -euxo pipefail # Install the appropriate version of Rust. - rustup toolchain install 1.80.0 # [ref:rust_1.80.0] - rustup default 1.80.0 # [ref:rust_1.80.0] + rustup toolchain install 1.80.1 # [ref:rust_1.80.1] + rustup default 1.80.1 # [ref:rust_1.80.1] # Add the targets. rustup target add x86_64-apple-darwin @@ -205,8 +205,8 @@ jobs: set -euxo pipefail # Install the appropriate version of Rust. - rustup toolchain install 1.80.0 # [ref:rust_1.80.0] - rustup default 1.80.0 # [ref:rust_1.80.0] + rustup toolchain install 1.80.1 # [ref:rust_1.80.1] + rustup default 1.80.1 # [ref:rust_1.80.1] # Fetch the program version. VERSION="$(cargo pkgid | cut -d# -f2 | cut -d: -f2)" diff --git a/CHANGELOG.md b/CHANGELOG.md index 95a18735..011a7a3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Typical now requires field index gaps to be marked as deleted. -## [0.9.7] - 2024-07-26 +## [0.9.7] - 2024-08-18 ### Changed - Some redundant conversions are no longer emitted by the Rust code generator. diff --git a/README.md b/README.md index 0a643c1c..8ec362bf 100644 --- a/README.md +++ b/README.md @@ -641,7 +641,7 @@ Notice that several types can take advantage of a more compact representation wh ## Benchmarks -We have coarse-grained benchmarks [here](https://github.com/stepchowfun/typical/tree/main/benchmarks) for each code generator. The data below were averaged over 3 runs on a 2023 MacBook Pro with the Apple M2 Max chip and 32 GiB of RAM. The Rust benchmark was compiled by Rust 1.80.0 with `--release`. The TypeScript benchmark was transpiled to JavaScript by TypeScript 4.5.5 and run with Node.js 18.17.0. +We have coarse-grained benchmarks [here](https://github.com/stepchowfun/typical/tree/main/benchmarks) for each code generator. The data below were averaged over 3 runs on a 2023 MacBook Pro with the Apple M2 Max chip and 32 GiB of RAM. The Rust benchmark was compiled by Rust 1.80.1 with `--release`. The TypeScript benchmark was transpiled to JavaScript by TypeScript 4.5.5 and run with Node.js 18.17.0. One benchmark serializes and deserializes a large message containing several hundred megabytes of text: diff --git a/toast.yml b/toast.yml index 2ec8f9c4..ec95fbc2 100644 --- a/toast.yml +++ b/toast.yml @@ -17,11 +17,11 @@ command_prefix: | cargo-offline () { cargo --frozen --offline "$@"; } # Use this wrapper for formatting code or checking that code is formatted. We use a nightly Rust - # version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2024-07-26]. The + # version for the `trailing_comma` formatting option [tag:rust_fmt_nightly_2024-08-18]. The # nightly version was chosen as the latest available release with all components present # according to this page: # https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu.html - cargo-fmt () { cargo +nightly-2024-07-26 --frozen --offline fmt --all -- "$@"; } + cargo-fmt () { cargo +nightly-2024-08-18 --frozen --offline fmt --all -- "$@"; } # Load the NVM startup file, if it exists. if [ -f "$HOME/.nvm/nvm.sh" ]; then @@ -75,18 +75,18 @@ tasks: - install_packages - create_user command: | - # Install stable Rust [tag:rust_1.80.0]. + # Install stable Rust [tag:rust_1.80.1]. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \ -y \ - --default-toolchain 1.80.0 \ + --default-toolchain 1.80.1 \ --profile minimal \ --component clippy # Add Rust tools to `$PATH`. . "$HOME/.cargo/env" - # Install nightly Rust [ref:rust_fmt_nightly_2024-07-26]. - rustup toolchain install nightly-2024-07-26 --profile minimal --component rustfmt + # Install nightly Rust [ref:rust_fmt_nightly_2024-08-18]. + rustup toolchain install nightly-2024-08-18 --profile minimal --component rustfmt install_node: description: Install Node.js, a JavaScript runtime environment.