diff --git a/README.md b/README.md index 83ea39fd..33c869a6 100644 --- a/README.md +++ b/README.md @@ -71,18 +71,8 @@ For more information please see `./CONTRIBUTING.md`. This library should always compile with any combination of features on **Rust 1.48.0**. -To build with the MSRV you will need to pin `serde` (if you have the feature enabled) - -``` -# serde 1.0.157 uses syn 2.0 which requires edition 2021 -cargo update -p serde_json --precise 1.0.99 -cargo update -p serde --precise 1.0.156 -cargo update -p quote --precise 1.0.30 -cargo update -p proc-macro2 --precise 1.0.63 -cargo update -p serde_test --precise 1.0.175 -``` - -The above commands are sourced from `./contrib/test.sh`. +To build with the MSRV you will likely need to pin a bunch of dependencies, see `./contrib/test.sh` +for the current list. ## External dependencies diff --git a/contrib/test.sh b/contrib/test.sh index 79932ad5..b1135699 100755 --- a/contrib/test.sh +++ b/contrib/test.sh @@ -8,6 +8,8 @@ MSRV="1\.48\.0" # Test pinned versions. if cargo --version | grep ${MSRV}; then + cargo update -p syn:2.0.37 --precise 2.0.32 + cargo update -p serde_json --precise 1.0.99 cargo update -p serde --precise 1.0.156 cargo update -p quote --precise 1.0.30