From 7272cc9fbdfd6ccd3c36cf3f8ab18f60a03d79ab Mon Sep 17 00:00:00 2001 From: Adam Chalmers Date: Thu, 9 Nov 2023 11:01:52 -0600 Subject: [PATCH] Describe Rust version for devs (#1044) Fixes #1042 --- README.md | 2 +- src/wasm-lib/Cargo.toml | 1 + src/wasm-lib/derive-docs/Cargo.toml | 1 + src/wasm-lib/kcl/Cargo.toml | 1 + src/wasm-lib/kcl/fuzz/Cargo.toml | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 781e9dd55..6e96753a7 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ We recommend downloading the latest application binary from [our Releases page]( ## Running a development build -First, [install Rust via `rustup`](https://www.rust-lang.org/tools/install). This project uses a lot of Rust compiled to [WASM](https://webassembly.org/) within it. Then, run: +First, [install Rust via `rustup`](https://www.rust-lang.org/tools/install). This project uses a lot of Rust compiled to [WASM](https://webassembly.org/) within it. We always use the latest stable version of Rust, so you may need to run `rustup update stable`. Then, run: ``` yarn install diff --git a/src/wasm-lib/Cargo.toml b/src/wasm-lib/Cargo.toml index 110bd4cdc..196e05c74 100644 --- a/src/wasm-lib/Cargo.toml +++ b/src/wasm-lib/Cargo.toml @@ -3,6 +3,7 @@ name = "wasm-lib" version = "0.1.0" edition = "2021" repository = "https://github.com/KittyCAD/modeling-app" +rust-version = "1.73" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] diff --git a/src/wasm-lib/derive-docs/Cargo.toml b/src/wasm-lib/derive-docs/Cargo.toml index 0218000ae..ef1805819 100644 --- a/src/wasm-lib/derive-docs/Cargo.toml +++ b/src/wasm-lib/derive-docs/Cargo.toml @@ -5,6 +5,7 @@ version = "0.1.4" edition = "2021" license = "MIT" repository = "https://github.com/KittyCAD/modeling-app" +rust-version = "1.73" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/wasm-lib/kcl/Cargo.toml b/src/wasm-lib/kcl/Cargo.toml index dd5bd5428..7e589f2d2 100644 --- a/src/wasm-lib/kcl/Cargo.toml +++ b/src/wasm-lib/kcl/Cargo.toml @@ -5,6 +5,7 @@ version = "0.1.35" edition = "2021" license = "MIT" repository = "https://github.com/KittyCAD/modeling-app" +rust-version = "1.73" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/wasm-lib/kcl/fuzz/Cargo.toml b/src/wasm-lib/kcl/fuzz/Cargo.toml index 74c591300..f75b8420d 100644 --- a/src/wasm-lib/kcl/fuzz/Cargo.toml +++ b/src/wasm-lib/kcl/fuzz/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.0" publish = false edition = "2021" repository = "https://github.com/KittyCAD/modeling-app" +rust-version = "1.73" [package.metadata] cargo-fuzz = true