dev: bump Rust version requirement & use Cargo.lock
This commit is contained in:
parent
bb49f02480
commit
527246cf21
5 changed files with 16 additions and 5 deletions
|
@ -100,7 +100,7 @@ If you have access to a server that supports one of the sources below, I recomme
|
|||
|
||||
### 🏗️ Build dependencies
|
||||
|
||||
- 🦀 At least [Rust](https://www.rust-lang.org/) v1.70
|
||||
- 🦀 At least [Rust](https://www.rust-lang.org/) v1.74
|
||||
- 🦬 C/C++ compiler & build tools
|
||||
- `build-essential` on Debian/Ubuntu Linux
|
||||
- `base-devel` on Arch Linux
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
# Unreleased
|
||||
|
||||
## For systemd/pm2 users
|
||||
|
||||
- Required Rust version has been bumped from v1.68 to v1.74.
|
||||
```sh
|
||||
cargo --version # check version
|
||||
rustup update # update version
|
||||
```
|
||||
|
||||
# v20240213
|
||||
|
||||
## For systemd/pm2 users
|
||||
|
|
4
packages/backend-rs/Cargo.lock
generated
4
packages/backend-rs/Cargo.lock
generated
|
@ -3210,9 +3210,9 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
|
|||
|
||||
[[package]]
|
||||
name = "winnow"
|
||||
version = "0.5.39"
|
||||
version = "0.5.40"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5389a154b01683d28c77f8f68f49dea75f0a4da32557a58f68ee51ebba472d29"
|
||||
checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876"
|
||||
dependencies = [
|
||||
"memchr",
|
||||
]
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
edition = "2021"
|
||||
name = "backend-rs"
|
||||
version = "0.0.0"
|
||||
rust-version = "1.74"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
},
|
||||
"scripts": {
|
||||
"artifacts": "napi artifacts",
|
||||
"build": "napi build --features napi --platform --release ./built/",
|
||||
"build:debug": "napi build --features napi --platform ./built/",
|
||||
"build": "napi build --features napi --platform --release --cargo-flags=--locked ./built/",
|
||||
"build:debug": "napi build --features napi --platform --cargo-flags=--locked ./built/",
|
||||
"prepublishOnly": "napi prepublish -t npm",
|
||||
"test": "pnpm run cargo:test && pnpm run build:napi && ava",
|
||||
"universal": "napi universal",
|
||||
|
|
Loading…
Reference in a new issue