File tree Expand file tree Collapse file tree 2 files changed +11
-14
lines changed
Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 55
66jobs :
77 check :
8- name : Tests
8+ name : Tests (${{ matrix.rust }})
99 runs-on : ubuntu-latest
1010 strategy :
1111 matrix :
1212 rust :
1313 - stable
1414 - beta
1515 steps :
16- - uses : actions/checkout@v2
17- - uses : actions-rs/ toolchain@v1
16+ - uses : actions/checkout@v4
17+ - uses : dtolnay/rust- toolchain@master
1818 with :
19- profile : minimal
2019 toolchain : ${{ matrix.rust }}
21- override : true
22- - uses : actions-rs/cargo@v1
23- with :
24- command : test
25- args : --all --all-features
26- - uses : actions-rs/cargo@v1
27- with :
28- command : test
29- # Test no_std support
30- args : -p rmp --no-default-features
20+
21+ - name : Test (all, all features)
22+ run : cargo test --all --all-features
23+
24+ - name : Test no_std (no default features)
25+ run : cargo test -p rmp --no-default-features
Original file line number Diff line number Diff line change 1+ #![ cfg( feature = "std" ) ]
2+
13use rmp:: decode:: { LenError , MessageLen } ;
24use rmp:: encode:: * ;
35use rmp:: Marker ;
You can’t perform that action at this time.
0 commit comments