Skip to content

Commit

Permalink
chore: increment crate versions to v0.8.0 and MSRV to 1.84
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbinth committed Jan 29, 2025
1 parent 45dda4b commit 1dd7908
Show file tree
Hide file tree
Showing 16 changed files with 28 additions and 26 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

## 0.8.0 (TBD)

## 0.7.0 (2025-01-28)

### Features
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ default-members = ["crates/rust-client", "bin/miden-cli"]

[workspace.package]
edition = "2021"
rust-version = "1.82"
rust-version = "1.84"
license = "MIT"
authors = ["miden contributors"]
repository = "https://github.com/0xPolygonMiden/miden-client"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/0xPolygonMiden/miden-client/blob/main/LICENSE)
[![test](https://github.com/0xPolygonMiden/miden-client/actions/workflows/test.yml/badge.svg)](https://github.com/0xPolygonMiden/miden-client/actions/workflows/test.yml)
[![build](https://github.com/0xPolygonMiden/miden-client/actions/workflows/build.yml/badge.svg)](https://github.com/0xPolygonMiden/miden-client/actions/workflows/build.yml)
[![RUST_VERSION](https://img.shields.io/badge/rustc-1.82+-lightgray.svg)](https://www.rust-lang.org/tools/install)
[![RUST_VERSION](https://img.shields.io/badge/rustc-1.84+-lightgray.svg)](https://www.rust-lang.org/tools/install)
[![crates.io](https://img.shields.io/crates/v/miden-client)](https://crates.io/crates/miden-client)

This repository contains the Miden client, which provides a way to execute and prove transactions, facilitating the interaction with the Miden rollup.
Expand Down
6 changes: 3 additions & 3 deletions bin/miden-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "miden-cli"
version = "0.7.0"
version = "0.8.0"
description = "CLI binary application that facilitates interaction with the Miden rollup"
readme = "README.md"
documentation = "https://docs.rs/miden-cli/0.7.0"
documentation = "https://docs.rs/miden-cli/0.8.0"
categories = ["command-line-utilities"]
keywords = ["miden", "client", "cli"]
license.workspace = true
Expand Down Expand Up @@ -35,7 +35,7 @@ uuid = { version = "1.10", features = ["serde", "v4"] }
clap = { version = "4.5", features = ["derive"] }
comfy-table = { version = "7.1" }
figment = { version = "0.10", features = ["toml", "env"] }
miden-client = { version = "0.7", path = "../../crates/rust-client", features = ["sqlite", "tonic"] }
miden-client = { version = "0.8", path = "../../crates/rust-client", features = ["sqlite", "tonic"] }
miden-lib = { workspace = true }
miden-proving-service-client = { workspace = true , features = ["std", "tx-prover"]}
miden-objects = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion bin/miden-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This binary allows the user to interact with the Miden rollup via a simple comma

## Usage

Before you can use the Miden client, you'll need to make sure you have both [Rust](https://www.rust-lang.org/tools/install) and sqlite3 installed. Miden client requires rust version **1.82** or higher.
Before you can use the Miden client, you'll need to make sure you have both [Rust](https://www.rust-lang.org/tools/install) and sqlite3 installed. Miden client requires rust version **1.84** or higher.

### Running `miden-client`'s CLI

Expand Down
4 changes: 2 additions & 2 deletions crates/rust-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "miden-client"
version = "0.7.0"
version = "0.8.0"
description = "Client library that facilitates interaction with the Miden rollup"
readme = "README.md"
documentation = "https://docs.rs/miden-client/0.7.0"
documentation = "https://docs.rs/miden-client/0.8.0"
categories = ["no-std"]
keywords = ["miden", "client"]
license.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/rust-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Rust library, which can be used by other project to programmatically interact wi
In order to utilize the `miden-client` library, you can add the dependency to your project's `Cargo.toml` file:

````toml
miden-client = { version = "0.7" }
miden-client = { version = "0.8" }
````

## Crate Features
Expand Down
2 changes: 1 addition & 1 deletion crates/rust-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
//!
//! ```toml
//! [dependencies]
//! miden-client = "0.7.0"
//! miden-client = "0.8"
//! ```
//!
//! ## Example
Expand Down
2 changes: 1 addition & 1 deletion crates/rust-client/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ impl MockRpcApi {
block_num: BlockNumber,
) -> impl Iterator<Item = NoteSyncRecord> + '_ {
self.notes.values().filter_map(move |note| {
if note.location().map_or(false, |loc| loc.block_num() == block_num) {
if note.location().is_some_and(|loc| loc.block_num() == block_num) {
let proof = note.proof()?;
Some(NoteSyncRecord {
note_index: 0,
Expand Down
6 changes: 3 additions & 3 deletions crates/web-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "miden-client-web"
version = "0.7.0"
version = "0.8.0"
description = "Web Client library that facilitates interaction with the Miden rollup"
readme = "README.md"
categories = ["no-std"]
documentation = "https://docs.rs/miden-client-web/0.7.0"
documentation = "https://docs.rs/miden-client-web/0.8.0"
keywords = ["miden", "client", "web", "wasm"]
license.workspace = true
authors.workspace = true
Expand All @@ -19,7 +19,7 @@ crate-type = ["cdylib"]
testing = ["miden-client/testing"]

[dependencies]
miden-client = { version = "0.7", path = "../rust-client", default-features = false, features = ["idxdb", "web-tonic"] }
miden-client = { version = "0.8", path = "../rust-client", default-features = false, features = ["idxdb", "web-tonic"] }
miden-lib = { workspace = true }
miden-objects = { workspace = true }
miden-proving-service-client = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion docs/get-started/create-account-use-faucet.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The Miden client facilitates interaction with the Miden rollup and provides a wa
```shell
cargo install miden-cli --features concurrent
```
You can now use the `miden --version` command, and you should see `Miden 0.7.0`.
You can now use the `miden --version` command, and you should see `Miden 0.8.0`.

3. Initialize the client. This creates the `miden-client.toml` file.

Expand Down
2 changes: 1 addition & 1 deletion docs/install-and-run.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Software prerequisites

- [Rust installation](https://www.rust-lang.org/tools/install) minimum version 1.82.
- [Rust installation](https://www.rust-lang.org/tools/install) minimum version 1.84.

## Install the client

Expand Down
4 changes: 2 additions & 2 deletions docs/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ To use the Miden client library in a Rust project, include it as a dependency.
In your project's `Cargo.toml`, add:

```toml
miden-client = { version = "0.7" }
miden-client = { version = "0.8" }
```

### Features

The Miden client library supports the [`concurrent`](https://github.com/0xPolygonMiden/miden-client/blob/main/docs/install-and-run.md#concurrent-feature) feature which is recommended for developing applications with the client. To use it, add the following to your project's `Cargo.toml`:

```toml
miden-client = { version = "0.7", features = ["concurrent"] }
miden-client = { version = "0.8", features = ["concurrent"] }
```

The library also supports several other features. Please refer to the crate's documentation to learn more.
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.82"
channel = "1.84"
components = ["rustfmt", "rust-src", "clippy"]
targets = ["wasm32-unknown-unknown"]
profile = "minimal"
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "miden-client-tests"
version = "0.7.0"
version = "0.8.0"
description = "Integration Tests for the miden client library and CLI"
readme = "README.md"
publish = false
Expand Down

0 comments on commit 1dd7908

Please sign in to comment.