Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit edc449b

Browse files
Merge #88: Pin proc-macro2 and quote in CI for MSRV purposes
3c0718c Explain how to build with the MSRV in the README (Daniela Brozzoni) 9793017 Pin proc-macro2 and quote in CI for MSRV purposes (Daniela Brozzoni) Pull request description: ACKs for top commit: afilini: ACK 3c0718c Tree-SHA512: 7220c4cd9b3078effbcad1371b2f4fd3fe810b1f6a2f73b7bd14c0ee93d704b8e8193eeca889c5bcd4200cdcdcadd6d1ee6ae704cf2a43b17e88cf424ed30bc2
2 parents d6241e3 + 3c0718c commit edc449b

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ jobs:
8989
# serde 1.0.157 uses syn 2.0 which requires edition 2021.
9090
# serde_json depends on 1.0.66
9191
# once_cell v0.15.0 uses edition 2021.
92-
run: cargo update -p serde_json --precise 1.0.99 && cargo update -p serde --precise 1.0.156 && cargo update -p once_cell --precise 1.14.0
92+
# quote 1.0.31 uses proc-macro2 1.0.66, which requires edition 2021
93+
run: cargo update -p serde_json --precise 1.0.99 && cargo update -p serde --precise 1.0.156 && cargo update -p once_cell --precise 1.14.0 && cargo update -p quote --precise 1.0.30 && cargo update -p proc-macro2 --precise 1.0.65
9394

9495
- name: Test
9596
run: cargo test --features ${{ matrix.rust.features }}

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,14 @@ This library internally uses PyO3 to call HWI's functions. It is not a re-implem
1010

1111
## MSRV
1212

13-
The MSRV for this project is `1.48.0`.
13+
The MSRV for this project is `1.48.0`. To build with the MSRV you will need to pin some dependencies:
14+
```bash
15+
cargo update -p serde_json --precise 1.0.99
16+
cargo update -p serde --precise 1.0.156
17+
cargo update -p once_cell --precise 1.14.0
18+
cargo update -p quote --precise 1.0.30
19+
cargo update -p proc-macro2 --precise 1.0.65
20+
```
1421

1522
## Prerequisites
1623

0 commit comments

Comments
 (0)