Skip to content

Commit

Permalink
Document minimum rust version for werk-cli (#38)
Browse files Browse the repository at this point in the history
Specifies a minimum rust version to werk-cli/Cargo.toml due to usage of
Option.get_or_insert_default(). This function was added in rust 1.83.0.

Adds an Installation Dependencies section to highlight this requirement.
  • Loading branch information
ejohnso49 authored Feb 4, 2025
1 parent eb42b7b commit df177bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions book/src/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
time. That said, `werk` is a self-contained binary that can easily be
transferred between machines.

## Installation Dependencies

- `rustc` >= 1.83.0

## Installation steps

1. `git clone https://github.com/simonask/werk`
Expand Down
1 change: 1 addition & 0 deletions werk-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "werk-cli"
version = "0.1.0"
edition = "2021"
build = "build.rs"
rust-version = "1.83.0"

[[bin]]
name = "werk"
Expand Down

0 comments on commit df177bf

Please sign in to comment.