Also do text processing block-wise so that NextChunk, CharToBytes and… #268
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- 1.60.0 | |
- stable | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- name: Use MSRV-compatible version of memchr | |
run: cargo update --package memchr --precise 2.6.2 | |
- name: Run tests | |
run: cargo test | |
- name: Run tests without positions | |
run: cargo test --no-default-features --features std | |
- name: Build without std | |
run: cargo build --no-default-features |