File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
4
+ # v2.1.0
5
+
6
+ - Add support for Portuguese as per addition to BIP.
7
+ - Add constant Language::ALL and deprecate Language::all()
8
+ - Add Mnemonic::words and deprecate Mnemonic::word_iter
9
+ - Add Mnemonic::word_indices
10
+ - Use ` rand_core ` if ` rand ` feature is not set
11
+ - Add ` alloc ` feature to gate ` unicode-normalization `
12
+
4
13
# v2.0.0
5
14
6
15
- Set Rust edition to 2018
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " bip39"
3
- version = " 2.0 .0"
3
+ version = " 2.1 .0"
4
4
authors = [
" Steven Roose <[email protected] >" ]
5
5
license = " CC0-1.0"
6
6
homepage = " https://github.com/rust-bitcoin/rust-bip39/"
Original file line number Diff line number Diff line change @@ -337,7 +337,7 @@ impl Mnemonic {
337
337
}
338
338
339
339
/// Returns an iterator over the words of the [Mnemonic].
340
- #[ deprecated( note = "Use Mnemonic::words instead" ) ]
340
+ #[ deprecated( since = "2.1.0" , note = "Use Mnemonic::words instead" ) ]
341
341
pub fn word_iter ( & self ) -> impl Iterator < Item = & ' static str > + Clone + ' _ {
342
342
self . words ( )
343
343
}
You can’t perform that action at this time.
0 commit comments