chore: update MSRV to 1.70.0

This commit is contained in:
Aram 🍐 2023-12-21 15:29:43 -05:00
parent 1613d2bb5c
commit a100f90a92
4 changed files with 6 additions and 5 deletions

View file

@ -10,7 +10,7 @@ jobs:
matrix: matrix:
rust: rust:
- stable - stable
- 1.65.0 - 1.70.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.65.0 - 1.70.0
steps: steps:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v2 uses: actions/checkout@v2

1
.gitignore vendored
View file

@ -3,3 +3,4 @@
.envrc .envrc
*.log *.log
*.pcap *.pcap
.DS_Store

View file

@ -1,4 +1,4 @@
FROM rust:1.65.0 as cargo-build FROM rust:1.70.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.65.0: onetun is available to install from [crates.io](https://crates.io/crates/onetun) with Rust ≥1.70.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.65.0: You can also build onetun locally, using Rust ≥1.70.0:
```shell ```shell
git clone https://github.com/aramperes/onetun && cd onetun git clone https://github.com/aramperes/onetun && cd onetun