Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 9710661

Browse files
committed
Merge #88: fix CI for recent serde update
35b84e4 pin serde for CI (Andrew Poelstra) Pull request description: . ACKs for top commit: tcharding: ACK 35b84e4 Tree-SHA512: c689ad3eab0bfdb17d3ad8101313f489a2d2e909e421fb0e66183d2406c03bfdc01a6d4f8919729fcb3c996504ba5fb7f64002d504da4e94b307a40d48f58c6e
2 parents 8f392fe + 35b84e4 commit 9710661

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44

55
This library is compatible with Rust **1.41.1** or higher.
66

7+
However, if you want to use the library with 1.41, you will need to pin a couple of
8+
our dependencies:
9+
10+
```
11+
cargo update -p serde --precise 1.0.156
12+
cargo update -p syn --precise 1.0.107
13+
```
14+
15+
before building. (And if your code is a library, your downstream users will need to
16+
run these commands, and so on.)
17+
718
# Rust JSONRPC Client
819

920
Rudimentary support for sending JSONRPC 2.0 requests and receiving responses.

contrib/test.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ fi
1414
# On MacOS on 1.41 we get a link failure with syn
1515
# This is fixed by https://github.com/rust-lang/rust/pull/91604 (I think)
1616
# but implies that we can't do testing on MacOS for now, at least with 1.41.
17-
if cargo --version | grep "1\.41\.0"; then
17+
if cargo --version | grep "1\.41"; then
1818
if [ "$RUNNER_OS" = "macOS" ]; then
1919
exit 0
2020
fi
21+
22+
cargo update -p serde --precise 1.0.156
23+
cargo update -p syn --precise 1.0.107
2124
fi
2225

2326
# Defaults / sanity checks

0 commit comments

Comments
 (0)