chore: bump msrv to 1.57

This commit is contained in:
Aram 🍐 2022-09-25 17:24:03 -04:00
parent 6c64531940
commit 0553fce5c6
3 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ jobs:
matrix: matrix:
rust: rust:
- stable - stable
- 1.56.1 - 1.57.0
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -39,7 +39,7 @@ jobs:
matrix: matrix:
rust: rust:
- stable - stable
- 1.56.1 - 1.57.0
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v2

View file

@ -1,4 +1,4 @@
FROM rust:1.56.1 as cargo-build FROM rust:1.57.0 as cargo-build
WORKDIR /usr/src/onetun WORKDIR /usr/src/onetun
COPY Cargo.toml Cargo.toml COPY Cargo.toml Cargo.toml

View file

@ -21,7 +21,7 @@ For example,
## Download ## Download
onetun is available to install from [crates.io](https://crates.io/crates/onetun) with Rust ≥1.56.1: onetun is available to install from [crates.io](https://crates.io/crates/onetun) with Rust ≥1.57.0:
```shell ```shell
cargo install onetun cargo install onetun
@ -37,7 +37,7 @@ $ docker run --rm --name onetun --user 1000 -p 8080:8080 aramperes/onetun \
0.0.0.0:8080:192.168.4.2:8080 [...options...] 0.0.0.0:8080:192.168.4.2:8080 [...options...]
``` ```
You can also build onetun locally, using Rust ≥1.56.1: You can also build onetun locally, using Rust ≥1.57.0:
```shell ```shell
git clone https://github.com/aramperes/onetun && cd onetun git clone https://github.com/aramperes/onetun && cd onetun