1818 strategy :
1919 matrix :
2020 rust :
21- - version : 1.65.0 # STABLE
21+ - version : stable
2222 clippy : true
23- - version : 1.57 .0 # MSRV
23+ - version : 1.63 .0 # MSRV
2424 features :
2525 - default
2626 - minimal
@@ -60,33 +60,17 @@ jobs:
6060 - name : Update toolchain
6161 run : rustup update
6262 - name : Pin dependencies for MSRV
63- if : matrix.rust.version == '1.57 .0'
63+ if : matrix.rust.version == '1.63 .0'
6464 run : |
65- cargo update -p log --precise "0.4.18"
66- cargo update -p tempfile --precise "3.6.0"
67- cargo update -p hashlink --precise "0.8.1"
6865 cargo update -p regex --precise "1.7.3"
69- cargo update -p zip:0.6.6 --precise "0.6.3"
70- cargo update -p rustix --precise "0.37.23"
71- cargo update -p tokio --precise "1.29.1"
72- cargo update -p tokio-util --precise "0.7.8"
73- cargo update -p cc --precise "1.0.81"
74- cargo update -p rustls:0.20.9 --precise "0.20.8"
75- cargo update -p rustls:0.21.7 --precise "0.21.1"
76- cargo update -p flate2:1.0.27 --precise "1.0.26"
77- cargo update -p reqwest --precise "0.11.18"
78- cargo update -p h2 --precise "0.3.20"
79- cargo update -p rustls-webpki:0.100.3 --precise "0.100.1"
80- cargo update -p rustls-webpki:0.101.6 --precise "0.101.1"
81- cargo update -p byteorder --precise "1.4.3"
82- cargo update -p webpki --precise "0.22.2"
66+ cargo update -p home --precise "0.5.5"
8367 - name : Build
84- run : cargo build --features ${{ matrix.features }} --no-default-features
68+ run : cargo build --features bitcoin/std,miniscript/std, ${{ matrix.features }} --no-default-features
8569 - name : Clippy
8670 if : ${{ matrix.rust.clippy }}
87- run : cargo clippy --all-targets --features ${{ matrix.features }} --no-default-features -- -D warnings
71+ run : cargo clippy --all-targets --features bitcoin/std,miniscript/std, ${{ matrix.features }} --no-default-features -- -D warnings
8872 - name : Test
89- run : cargo test --features ${{ matrix.features }} --no-default-features
73+ run : cargo test --features bitcoin/std,miniscript/std, ${{ matrix.features }} --no-default-features
9074
9175 test-readme-examples :
9276 name : Test README.md examples
10993 - name : Update toolchain
11094 run : rustup update
11195 - name : Test
112- run : cargo test --features test-md-docs --no-default-features -- doctest::ReadmeDoctests
96+ run : cargo test --features bitcoin/std,miniscript/std, test-md-docs --no-default-features -- doctest::ReadmeDoctests
11397
11498 test-blockchains :
11599 name : Blockchain ${{ matrix.blockchain.features }}
@@ -120,19 +104,19 @@ jobs:
120104 blockchain :
121105 - name : electrum
122106 testprefix : blockchain::electrum::test
123- features : test-electrum,verify
107+ features : test-electrum,verify,bitcoin/std,miniscript/std
124108 - name : rpc
125109 testprefix : blockchain::rpc::test
126- features : test-rpc
110+ features : test-rpc,bitcoin/std,miniscript/std
127111 - name : rpc-legacy
128112 testprefix : blockchain::rpc::test
129- features : test-rpc-legacy
113+ features : test-rpc-legacy,bitcoin/std,miniscript/std
130114 - name : esplora
131115 testprefix : esplora
132- features : test-esplora,use-esplora-async,verify
116+ features : test-esplora,use-esplora-async,verify,bitcoin/std,miniscript/std
133117 - name : esplora
134118 testprefix : esplora
135- features : test-esplora,use-esplora-blocking,verify
119+ features : test-esplora,use-esplora-blocking,verify,bitcoin/std,miniscript/std
136120 steps :
137121 - name : Checkout
138122 uses : actions/checkout@v2
@@ -150,7 +134,7 @@ jobs:
150134 toolchain : stable
151135 override : true
152136 - name : Test
153- run : cargo test --no-default-features --features ${{ matrix.blockchain.features }} ${{ matrix.blockchain.testprefix }}::bdk_blockchain_tests
137+ run : cargo test --no-default-features --features bitcoin/std,miniscript/std, ${{ matrix.blockchain.features }} ${{ matrix.blockchain.testprefix }}::bdk_blockchain_tests
154138
155139 check-wasm :
156140 name : Check WASM
@@ -175,15 +159,15 @@ jobs:
175159 - run : sudo apt-get update || exit 1
176160 - run : sudo apt-get install -y libclang-common-10-dev clang-10 libc6-dev-i386 || exit 1
177161 - name : Set default toolchain
178- run : rustup default 1.65.0 # STABLE
162+ run : rustup default stable
179163 - name : Set profile
180164 run : rustup set profile minimal
181165 - name : Add target wasm32
182166 run : rustup target add wasm32-unknown-unknown
183167 - name : Update toolchain
184168 run : rustup update
185169 - name : Check
186- run : cargo check --target wasm32-unknown-unknown --features async-interface,use-esplora-async,dev-getrandom-wasm --no-default-features
170+ run : cargo check --target wasm32-unknown-unknown --features bitcoin/no-std,miniscript/no-std, async-interface,use-esplora-async,dev-getrandom-wasm --no-default-features
187171
188172 fmt :
189173 name : Rust fmt
@@ -207,8 +191,8 @@ jobs:
207191 strategy :
208192 matrix :
209193 rust :
210- - version : 1.65.0 # STABLE
211- - version : 1.57 .0 # MSRV
194+ - version : stable
195+ - version : 1.63 .0 # MSRV
212196 steps :
213197 - name : Checkout
214198 uses : actions/checkout@v3
@@ -229,25 +213,9 @@ jobs:
229213 - name : Update toolchain
230214 run : rustup update
231215 - name : Pin dependencies for MSRV
232- if : matrix.rust.version == '1.57 .0'
216+ if : matrix.rust.version == '1.63 .0'
233217 run : |
234- cargo update -p log --precise "0.4.18"
235- cargo update -p tempfile --precise "3.6.0"
236- cargo update -p hashlink --precise "0.8.1"
237- cargo update -p regex --precise "1.7.3"
238- cargo update -p zip:0.6.6 --precise "0.6.3"
239- cargo update -p rustix --precise "0.37.23"
240- cargo update -p tokio --precise "1.29.1"
241- cargo update -p tokio-util --precise "0.7.8"
242- cargo update -p cc --precise "1.0.81"
243- cargo update -p rustls:0.20.9 --precise "0.20.8"
244- cargo update -p rustls:0.21.7 --precise "0.21.1"
245- cargo update -p flate2:1.0.27 --precise "1.0.26"
246- cargo update -p reqwest --precise "0.11.18"
247- cargo update -p h2 --precise "0.3.20"
248- cargo update -p rustls-webpki:0.100.3 --precise "0.100.1"
249- cargo update -p rustls-webpki:0.101.6 --precise "0.101.1"
250- cargo update -p byteorder --precise "1.4.3"
251- cargo update -p webpki --precise "0.22.2"
218+ cargo update -p regex --precise "1.7.3"
219+ cargo update -p home --precise "0.5.5"
252220 - name : Test
253221 run : cargo test --features test-hardware-signer
0 commit comments