Skip to content

Commit d80f73a

Browse files
committed
CI: Test MSRV
There are multiple MSRVs in this crate because of the `bitcoin_hashes` dependency and also the `zeroize` feature. Add MSRV test jobs for the three MSRVs effected by `bitcoin_hashes` and also one for the `zeroize` feature. Includes committing a lock file for Rust 1.41 and 1.48, the latter works for all other MSRV versions tested. Check and fix the docs in the README while we are at it.
1 parent 923983d commit d80f73a

File tree

7 files changed

+417
-28
lines changed

7 files changed

+417
-28
lines changed

.github/workflows/rust.yml

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
DO_NO_STD: true
5151
run: ./contrib/test.sh
5252

53-
MSRV:
53+
MSRV-1-41:
5454
name: Test - 1.41.1 toolchain
5555
runs-on: ubuntu-latest
5656
strategy:
@@ -66,6 +66,54 @@ jobs:
6666
DO_FEATURE_MATRIX: true
6767
run: ./contrib/test.sh
6868

69+
MSRV-1-48:
70+
name: Test - 1.48.0 toolchain
71+
runs-on: ubuntu-latest
72+
strategy:
73+
fail-fast: false
74+
steps:
75+
- name: Checkout Crate
76+
uses: actions/checkout@v3
77+
- name: Checkout Toolchain
78+
uses: dtolnay/[email protected]
79+
- name: Running test script
80+
env:
81+
DO_NO_STD: true
82+
DO_FEATURE_MATRIX: true
83+
run: ./contrib/test.sh
84+
85+
MSRV-1-51:
86+
name: Test - 1.51.0 toolchain
87+
runs-on: ubuntu-latest
88+
strategy:
89+
fail-fast: false
90+
steps:
91+
- name: Checkout Crate
92+
uses: actions/checkout@v3
93+
- name: Checkout Toolchain
94+
uses: dtolnay/[email protected]
95+
- name: Running test script
96+
env:
97+
DO_NO_STD: true
98+
DO_FEATURE_MATRIX: true
99+
run: ./contrib/test.sh
100+
101+
MSRV-1-56:
102+
name: Test - 1.56.0 toolchain
103+
runs-on: ubuntu-latest
104+
strategy:
105+
fail-fast: false
106+
steps:
107+
- name: Checkout Crate
108+
uses: actions/checkout@v3
109+
- name: Checkout Toolchain
110+
uses: dtolnay/[email protected]
111+
- name: Running test script
112+
env:
113+
DO_NO_STD: true
114+
DO_FEATURE_MATRIX: true
115+
run: ./contrib/test.sh
116+
69117
Arch32bit:
70118
name: Test 32-bit version
71119
runs-on: ubuntu-latest
File renamed without changes.

Cargo-msrv-1.48.lock

Lines changed: 328 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,328 @@
1+
# This file is automatically @generated by Cargo.
2+
# It is not intended for manual editing.
3+
version = 3
4+
5+
[[package]]
6+
name = "bip39"
7+
version = "2.2.0"
8+
dependencies = [
9+
"bip39",
10+
"bitcoin_hashes",
11+
"rand",
12+
"rand_core 0.4.0",
13+
"serde",
14+
"unicode-normalization",
15+
"zeroize",
16+
]
17+
18+
[[package]]
19+
name = "bitcoin-internals"
20+
version = "0.2.0"
21+
source = "registry+https://github.com/rust-lang/crates.io-index"
22+
checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb"
23+
24+
[[package]]
25+
name = "bitcoin_hashes"
26+
version = "0.13.0"
27+
source = "registry+https://github.com/rust-lang/crates.io-index"
28+
checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b"
29+
dependencies = [
30+
"bitcoin-internals",
31+
"hex-conservative",
32+
]
33+
34+
[[package]]
35+
name = "bitflags"
36+
version = "1.0.0"
37+
source = "registry+https://github.com/rust-lang/crates.io-index"
38+
checksum = "f5cde24d1b2e2216a726368b2363a273739c91f4e3eb4e0dd12d672d396ad989"
39+
40+
[[package]]
41+
name = "cloudabi"
42+
version = "0.0.3"
43+
source = "registry+https://github.com/rust-lang/crates.io-index"
44+
checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
45+
dependencies = [
46+
"bitflags",
47+
]
48+
49+
[[package]]
50+
name = "fuchsia-zircon"
51+
version = "0.3.2"
52+
source = "registry+https://github.com/rust-lang/crates.io-index"
53+
checksum = "bd510087c325af53ba24f3be8f1c081b0982319adcb8b03cad764512923ccc19"
54+
dependencies = [
55+
"bitflags",
56+
"fuchsia-zircon-sys",
57+
]
58+
59+
[[package]]
60+
name = "fuchsia-zircon-sys"
61+
version = "0.3.2"
62+
source = "registry+https://github.com/rust-lang/crates.io-index"
63+
checksum = "08b3a6f13ad6b96572b53ce7af74543132f1a7055ccceb6d073dd36c54481859"
64+
65+
[[package]]
66+
name = "hex-conservative"
67+
version = "0.1.2"
68+
source = "registry+https://github.com/rust-lang/crates.io-index"
69+
checksum = "212ab92002354b4819390025006c897e8140934349e8635c9b077f47b4dcbd20"
70+
71+
[[package]]
72+
name = "libc"
73+
version = "0.2.151"
74+
source = "registry+https://github.com/rust-lang/crates.io-index"
75+
checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4"
76+
77+
[[package]]
78+
name = "proc-macro2"
79+
version = "1.0.74"
80+
source = "registry+https://github.com/rust-lang/crates.io-index"
81+
checksum = "2de98502f212cfcea8d0bb305bd0f49d7ebdd75b64ba0a68f937d888f4e0d6db"
82+
dependencies = [
83+
"unicode-ident",
84+
]
85+
86+
[[package]]
87+
name = "quote"
88+
version = "1.0.35"
89+
source = "registry+https://github.com/rust-lang/crates.io-index"
90+
checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
91+
dependencies = [
92+
"proc-macro2",
93+
]
94+
95+
[[package]]
96+
name = "rand"
97+
version = "0.6.0"
98+
source = "registry+https://github.com/rust-lang/crates.io-index"
99+
checksum = "de3f08319b5395bd19b70e73c4c465329495db02dafeb8ca711a20f1c2bd058c"
100+
dependencies = [
101+
"cloudabi",
102+
"fuchsia-zircon",
103+
"libc",
104+
"rand_chacha",
105+
"rand_core 0.3.0",
106+
"rand_hc",
107+
"rand_isaac",
108+
"rand_pcg",
109+
"rand_xorshift",
110+
"rustc_version",
111+
"winapi",
112+
]
113+
114+
[[package]]
115+
name = "rand_chacha"
116+
version = "0.1.0"
117+
source = "registry+https://github.com/rust-lang/crates.io-index"
118+
checksum = "771b009e3a508cb67e8823dda454aaa5368c7bc1c16829fb77d3e980440dd34a"
119+
dependencies = [
120+
"rand_core 0.3.0",
121+
"rustc_version",
122+
]
123+
124+
[[package]]
125+
name = "rand_core"
126+
version = "0.3.0"
127+
source = "registry+https://github.com/rust-lang/crates.io-index"
128+
checksum = "0905b6b7079ec73b314d4c748701f6931eb79fd97c668caa3f1899b22b32c6db"
129+
130+
[[package]]
131+
name = "rand_core"
132+
version = "0.4.0"
133+
source = "registry+https://github.com/rust-lang/crates.io-index"
134+
checksum = "d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0"
135+
136+
[[package]]
137+
name = "rand_hc"
138+
version = "0.1.0"
139+
source = "registry+https://github.com/rust-lang/crates.io-index"
140+
checksum = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
141+
dependencies = [
142+
"rand_core 0.3.0",
143+
]
144+
145+
[[package]]
146+
name = "rand_isaac"
147+
version = "0.1.1"
148+
source = "registry+https://github.com/rust-lang/crates.io-index"
149+
checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
150+
dependencies = [
151+
"rand_core 0.3.0",
152+
]
153+
154+
[[package]]
155+
name = "rand_pcg"
156+
version = "0.1.0"
157+
source = "registry+https://github.com/rust-lang/crates.io-index"
158+
checksum = "63dc0563dbebec393ad95dd50d842bcec1c1157bb5ab9f29e2b5bae098817e8d"
159+
dependencies = [
160+
"rand_core 0.3.0",
161+
"rustc_version",
162+
]
163+
164+
[[package]]
165+
name = "rand_xorshift"
166+
version = "0.1.0"
167+
source = "registry+https://github.com/rust-lang/crates.io-index"
168+
checksum = "effa3fcaa47e18db002bdde6060944b6d2f9cfd8db471c30e873448ad9187be3"
169+
dependencies = [
170+
"rand_core 0.3.0",
171+
]
172+
173+
[[package]]
174+
name = "rustc_version"
175+
version = "0.2.0"
176+
source = "registry+https://github.com/rust-lang/crates.io-index"
177+
checksum = "1e114e275f7c9b5d50bb52b28f9aac1921209f02aa6077c8b255e21eefaf8ffa"
178+
dependencies = [
179+
"semver",
180+
]
181+
182+
[[package]]
183+
name = "semver"
184+
version = "0.6.0"
185+
source = "registry+https://github.com/rust-lang/crates.io-index"
186+
checksum = "7a3186ec9e65071a2095434b1f5bb24838d4e8e130f584c790f6033c79943537"
187+
dependencies = [
188+
"semver-parser",
189+
]
190+
191+
[[package]]
192+
name = "semver-parser"
193+
version = "0.7.0"
194+
source = "registry+https://github.com/rust-lang/crates.io-index"
195+
checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
196+
197+
[[package]]
198+
name = "serde"
199+
version = "1.0.195"
200+
source = "registry+https://github.com/rust-lang/crates.io-index"
201+
checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02"
202+
dependencies = [
203+
"serde_derive",
204+
]
205+
206+
[[package]]
207+
name = "serde_derive"
208+
version = "1.0.195"
209+
source = "registry+https://github.com/rust-lang/crates.io-index"
210+
checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c"
211+
dependencies = [
212+
"proc-macro2",
213+
"quote",
214+
"syn 2.0.46",
215+
]
216+
217+
[[package]]
218+
name = "syn"
219+
version = "1.0.0"
220+
source = "registry+https://github.com/rust-lang/crates.io-index"
221+
checksum = "9f8c8eab7d9f493cd89d4068085651d81ac7d39c56eb64f7158ea514b156e280"
222+
dependencies = [
223+
"proc-macro2",
224+
"quote",
225+
"unicode-xid",
226+
]
227+
228+
[[package]]
229+
name = "syn"
230+
version = "2.0.46"
231+
source = "registry+https://github.com/rust-lang/crates.io-index"
232+
checksum = "89456b690ff72fddcecf231caedbe615c59480c93358a93dfae7fc29e3ebbf0e"
233+
dependencies = [
234+
"proc-macro2",
235+
"quote",
236+
"unicode-ident",
237+
]
238+
239+
[[package]]
240+
name = "synstructure"
241+
version = "0.12.2"
242+
source = "registry+https://github.com/rust-lang/crates.io-index"
243+
checksum = "575be94ccb86e8da37efb894a87e2b660be299b41d8ef347f9d6d79fbe61b1ba"
244+
dependencies = [
245+
"proc-macro2",
246+
"quote",
247+
"syn 1.0.0",
248+
"unicode-xid",
249+
]
250+
251+
[[package]]
252+
name = "tinyvec"
253+
version = "1.6.0"
254+
source = "registry+https://github.com/rust-lang/crates.io-index"
255+
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
256+
dependencies = [
257+
"tinyvec_macros",
258+
]
259+
260+
[[package]]
261+
name = "tinyvec_macros"
262+
version = "0.1.0"
263+
source = "registry+https://github.com/rust-lang/crates.io-index"
264+
checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c"
265+
266+
[[package]]
267+
name = "unicode-ident"
268+
version = "1.0.0"
269+
source = "registry+https://github.com/rust-lang/crates.io-index"
270+
checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee"
271+
272+
[[package]]
273+
name = "unicode-normalization"
274+
version = "0.1.22"
275+
source = "registry+https://github.com/rust-lang/crates.io-index"
276+
checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
277+
dependencies = [
278+
"tinyvec",
279+
]
280+
281+
[[package]]
282+
name = "unicode-xid"
283+
version = "0.2.0"
284+
source = "registry+https://github.com/rust-lang/crates.io-index"
285+
checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
286+
287+
[[package]]
288+
name = "winapi"
289+
version = "0.3.0"
290+
source = "registry+https://github.com/rust-lang/crates.io-index"
291+
checksum = "b3ad91d846a4a5342c1fb7008d26124ee6cf94a3953751618577295373b32117"
292+
dependencies = [
293+
"winapi-i686-pc-windows-gnu",
294+
"winapi-x86_64-pc-windows-gnu",
295+
]
296+
297+
[[package]]
298+
name = "winapi-i686-pc-windows-gnu"
299+
version = "0.3.0"
300+
source = "registry+https://github.com/rust-lang/crates.io-index"
301+
checksum = "a16a8e2ebfc883e2b1771c6482b1fb3c6831eab289ba391619a2d93a7356220f"
302+
303+
[[package]]
304+
name = "winapi-x86_64-pc-windows-gnu"
305+
version = "0.3.0"
306+
source = "registry+https://github.com/rust-lang/crates.io-index"
307+
checksum = "8ca29cb03c8ceaf20f8224a18a530938305e9872b1478ea24ff44b4f503a1d1d"
308+
309+
[[package]]
310+
name = "zeroize"
311+
version = "1.5.3"
312+
source = "registry+https://github.com/rust-lang/crates.io-index"
313+
checksum = "50344758e2f40e3a1fcfc8f6f91aa57b5f8ebd8d27919fe6451f15aaaf9ee608"
314+
dependencies = [
315+
"zeroize_derive",
316+
]
317+
318+
[[package]]
319+
name = "zeroize_derive"
320+
version = "1.3.2"
321+
source = "registry+https://github.com/rust-lang/crates.io-index"
322+
checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17"
323+
dependencies = [
324+
"proc-macro2",
325+
"quote",
326+
"syn 1.0.0",
327+
"synstructure",
328+
]

0 commit comments

Comments
 (0)