Skip to content

Commit 73704d2

Browse files
committed
Update workflow and cargo.toml to support mimalloc
1 parent e469144 commit 73704d2

3 files changed

Lines changed: 35 additions & 12 deletions

File tree

.github/workflows/python-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
python-version: ${{ matrix.python-version }}
4343
allow-prereleases: true
4444

45-
- run: pip install pytest pytest-asyncio maturin
45+
- run: pip install pytest pytest-asyncio "maturin[patchelf]"
4646

4747
- run: pip install -e .
4848
env:
@@ -78,7 +78,7 @@ jobs:
7878
with:
7979
python-version: "3.13"
8080

81-
- run: pip install pytest pytest-asyncio maturin
81+
- run: pip install pytest pytest-asyncio "maturin[patchelf]"
8282

8383
- run: pip install -e .
8484
env:

Cargo.lock

Lines changed: 30 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ lto = true
2121
panic = "abort"
2222
strip = "symbols"
2323

24+
[features]
25+
mimalloc = ["dep:mimalloc"]
26+
2427
[dependencies.hashbrown]
2528
version = "0.14.5"
2629
default-features = false

0 commit comments

Comments
 (0)