perf: Cursor based lexer (#38)

This commit is contained in:
Micha Reiser
2023-07-26 07:50:45 +02:00
committed by GitHub
parent 13196fc500
commit 593b46be5e
30 changed files with 2502 additions and 1804 deletions

View File

@@ -37,10 +37,8 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: run tests with num-bigint
run: cargo test --all --no-default-features --features num-bigint
- name: run tests with malachite-bigint and all features
run: cargo test --all --features malachite-bigint,full-lexer,serde
- name: run tests
run: cargo test --all --all-features
lint:
name: Check Rust code with rustfmt and clippy
@@ -53,9 +51,7 @@ jobs:
- name: run rustfmt
run: cargo fmt --all -- --check
- name: run clippy
run: cargo clippy --all --no-default-features --features num-bigint
- name: run clippy
run: cargo clippy --all --features malachite-bigint,full-lexer,serde -- -Dwarnings
run: cargo clippy --all --all-features -- -Dwarnings
- uses: actions/setup-python@v4
with: