File tree 2 files changed +9
-10
lines changed 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -7,23 +7,19 @@ FEATURES="compiler serde rand base64"
7
7
cargo --version
8
8
rustc --version
9
9
10
+ # Pin dependencies required to build with Rust 1.41.1
11
+ if cargo --version | grep " 1\.41\.0" ; then
12
+ cargo update -p serde --precise 1.0.156
13
+ cargo update -p syn --precise 1.0.107
14
+ fi
15
+
10
16
# Format if told to
11
17
if [ " $DO_FMT " = true ]
12
18
then
13
19
rustup component add rustfmt
14
20
cargo fmt -- --check
15
21
fi
16
22
17
- # Pin dependencies required to build with Rust 1.41.1
18
- if cargo --version | grep " 1\.41\.0" ; then
19
- cargo update -p once_cell --precise 1.13.1
20
- fi
21
-
22
- # Pin dependencies required to build with Rust 1.47.0
23
- if cargo --version | grep " 1\.47\.0" ; then
24
- cargo update -p once_cell --precise 1.13.1
25
- fi
26
-
27
23
# Fuzz if told to
28
24
if [ " $DO_FUZZ " = true ]
29
25
then
Original file line number Diff line number Diff line change 88
88
//! ```
89
89
//!
90
90
//!
91
+
92
+ #![ cfg_attr( all( test, feature = "unstable" ) , feature( test) ) ]
93
+ // Coding conventions
91
94
#![ allow( bare_trait_objects) ]
92
95
#![ deny( non_camel_case_types) ]
93
96
#![ deny( non_snake_case) ]
You can’t perform that action at this time.
0 commit comments