chore: document rustc min version supported

- Add section to README
- Run ci tests with this min version in addition of stable to track changes that would require a min
rustc version bump.
pull/348/head
Florian Dehau 4 years ago
parent 6504930888
commit dc26f7ba9f

@ -6,6 +6,9 @@ jobs:
linux: linux:
name: Linux name: Linux
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
rust: ["1.44.0", "stable"]
steps: steps:
- name: "Install dependencies" - name: "Install dependencies"
run: sudo apt-get install libncurses5-dev run: sudo apt-get install libncurses5-dev
@ -13,7 +16,7 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
profile: default profile: default
toolchain: stable toolchain: ${{ matrix.rust }}
override: true override: true
- name: "Format" - name: "Format"
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
@ -52,12 +55,15 @@ jobs:
windows: windows:
name: Windows name: Windows
runs-on: windows-latest runs-on: windows-latest
strategy:
matrix:
rust: ["1.44.0", "stable"]
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
profile: default profile: default
toolchain: stable toolchain: ${{ matrix.rust }}
override: true override: true
- name: "Check (crossterm)" - name: "Check (crossterm)"
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1

@ -32,6 +32,10 @@ comes from the terminal emulator than the library itself.
Moreover, the library does not provide any input handling nor any event system and Moreover, the library does not provide any input handling nor any event system and
you may rely on the previously cited libraries to achieve such features. you may rely on the previously cited libraries to achieve such features.
### Rust version requirements
Since version 0.10.0, `tui` requires **rustc version 1.44.0 or greater**.
### [Documentation](https://docs.rs/tui) ### [Documentation](https://docs.rs/tui)
### Demo ### Demo

Loading…
Cancel
Save