Skip to content

Commit

Permalink
v0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbinth authored Apr 11, 2024
2 parents 02c01ae + 01a6c1d commit 2a7c703
Show file tree
Hide file tree
Showing 139 changed files with 5,861 additions and 2,935 deletions.
16 changes: 16 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[profile.default]
slow-timeout = { period = "5s", terminate-after = 2 }

[profile.prove]
# A test which also generates a proof takes around 1min to complete on a M2
slow-timeout = { period = "120s", terminate-after = 2 }

[profile.ci-default]
failure-output = "immediate-final"
fail-fast = false

[profile.ci-prove]
# A test which also generates a proof takes around 120sec to complete in the CI
slow-timeout = { period = "200s", terminate-after = 2 }
failure-output = "immediate-final"
fail-fast = false
105 changes: 0 additions & 105 deletions .github/workflows/ci.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Runs linting related jobs.

name: lint

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

jobs:
version:
name: check rust version consistency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
profile: minimal
override: true
- name: check rust versions
run: ./scripts/check-rust-version.sh

rustfmt:
name: rustfmt nightly on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install minimal Rust with rustfmt & cargo-make
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt
override: true
- uses: davidB/rust-cargo-make@v1
- name: cargo make - format
run: cargo make format

clippy:
name: clippy stable on ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install minimal Rust with clippy & cargo-make
uses: actions-rs/toolchain@v1
with:
profile: minimal
components: clippy
override: true
- uses: davidB/rust-cargo-make@v1
- name: cargo make - clippy
run: cargo make clippy
30 changes: 30 additions & 0 deletions .github/workflows/no-std.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Runs no-std related jobs.

name: no-std

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

jobs:
no-std:
name: build ${{matrix.toolchain}} no-std for wasm32-unknown-unknown
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
toolchain: [stable, nightly]
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{matrix.toolchain}}
override: true
- run: rustup target add wasm32-unknown-unknown
- uses: davidB/rust-cargo-make@v1
- name: cargo make - build-no-std
run: cargo make build-no-std
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

jobs:
test:
name: test ${{matrix.toolchain}} on ${{matrix.os}} with ${{matrix.args}}
runs-on: ${{matrix.os}}-latest
strategy:
fail-fast: false
matrix:
toolchain: [stable, nightly]
os: [ubuntu]
args: ["default", "prove"]
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{matrix.toolchain}}
override: true
- uses: davidB/rust-cargo-make@v1
- uses: taiki-e/install-action@nextest
- name: cargo make - test
run: cargo make ci-test-${{matrix.args}}
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
# will have compiled files and executables
/target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand All @@ -22,4 +18,4 @@ env/
*.out
node_modules/
*DS_Store
*.iml
*.iml
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# Changelog

## 0.2.0

* [BREAKING] Implement support for public accounts (#481, #485, #538).
* [BREAKING] Implement support for public notes (#515, #540, #572).
* Improved `ProvenTransaction` validation (#532).
* [BREAKING] Updated `no-std` setup (#533).
* Improved `ProvenTransaction` serialization (#543).
* Implemented note tree wrapper structs (#560).
* [BREAKING] Migrated to v0.9 version of Miden VM (#567).
* [BREAKING] Added account storage type parameter to `create_basic_wallet` and `create_basic_fungible_faucet` (miden-lib crate only) (#587).
* Removed serialization of source locations from account code (#590).

## 0.1.1 (2024-03-07) - `miden-objects` crate only

* Added `BlockHeader::mock()` method (#511)

## 0.1.0 (2024-03-05)

* Initial release.
* Initial release.
Loading

0 comments on commit 2a7c703

Please sign in to comment.