Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The guide, <https://stackhands.github.io/rfc9162/>, is an mdBook in [`docs/`](do
## Install

The three crates share one version. Install the same version of each.
Minimum supported Rust version (MSRV): Rust 1.85.

```text
cargo add [email protected]
Expand Down
1 change: 1 addition & 0 deletions changelog.d/+msrv-docs-and-examples.doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The install and getting-started docs now state the minimum supported Rust version (1.85) before `cargo add`, and `docs/examples/Cargo.toml` now inherits the workspace `rust-version` so the examples package declares the same compiler floor as the crates.
1 change: 1 addition & 0 deletions docs/examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "rfc9162-docs-examples"
version = "0.0.0"
edition = "2021"
rust-version.workspace = true
publish = false
license = "MIT"
description = "Runnable examples for the rfc9162 documentation"
Expand Down
8 changes: 7 additions & 1 deletion docs/src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

This program hashes three records, checks an inclusion proof for each, then checks that a fourth record is an append. It uses only `rfc9162`. Storage and signatures are the [tutorial](tutorials/build-a-log.md).

Install Rust from the [installation](install/index.md) page, then:
Install Rust from the [installation](install/index.md) page. `rfc9162` needs Rust 1.85 or newer:

```text
rustc --version
```

Then:

```text
cargo new ct-log
Expand Down
Loading