File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ or in [the `examples/` directory](https://github.com/ElementsProject/elements-mi
34
34
This library should always compile with any combination of features on ** Rust 1.41.1** .
35
35
36
36
37
+ Some dependencies do not play nicely with our MSRV, if you are running the tests
38
+ you may need to pin as follows:
39
+
40
+ ```
41
+ cargo update --package url --precise 2.2.2
42
+ cargo update --package form_urlencoded --precise 1.0.1
43
+ ```
44
+
37
45
## Contributing
38
46
Contributions are generally welcome. If you intend to make larger changes please
39
47
discuss them in an issue before PRing them to avoid duplicate work and
Original file line number Diff line number Diff line change 4
4
5
5
FEATURES=" compiler serde rand"
6
6
7
- # Use toolchain if explicitly specified
8
- if [ -n " $TOOLCHAIN " ]
9
- then
10
- alias cargo=" cargo +$TOOLCHAIN "
11
- fi
12
-
13
7
cargo update -p serde --precise 1.0.142
14
8
cargo update -p serde_derive --precise 1.0.142
15
9
16
10
cargo --version
17
11
rustc --version
18
12
13
+ # Work out if we are using a nightly toolchain.
19
14
MSRV=false
20
15
if cargo --version | grep " 1\.41\.0" ; then
21
16
MSRV=true
22
17
fi
23
18
19
+ # form_urlencoded 1.1.0 breaks MSRV.
24
20
if [ " $MSRV " = true ]; then
25
21
cargo update -p url --precise 2.2.2
26
22
cargo update -p form_urlencoded --precise 1.0.1
27
- cargo update -p once_cell --precise 1.13.1
28
23
fi
29
24
30
25
# Format if told to
You can’t perform that action at this time.
0 commit comments