-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from rust-bitcoin/msrv-1.41
Enable 2018 edition, bump MSRV to 1.41 and bump to v2.0.0
- Loading branch information
Showing
4 changed files
with
29 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bip39" | ||
version = "1.2.0" | ||
version = "2.0.0" | ||
authors = ["Steven Roose <[email protected]>"] | ||
license = "CC0-1.0" | ||
homepage = "https://github.com/rust-bitcoin/rust-bip39/" | ||
|
@@ -9,14 +9,12 @@ documentation = "https://docs.rs/bip39/" | |
description = "Library for BIP-39 Bitcoin mnemonic codes" | ||
keywords = [ "crypto", "bitcoin", "bip39", "mnemonic" ] | ||
readme = "README.md" | ||
|
||
[lib] | ||
name = "bip39" | ||
path = "src/lib.rs" | ||
edition = "2018" | ||
|
||
[features] | ||
default = [ "std" ] | ||
std = [ "unicode-normalization", "serde/std" ] | ||
rand = [ "crate_rand", "rand_core" ] | ||
|
||
# Note: English is the standard for bip39 so always included | ||
chinese-simplified = [] | ||
|
@@ -40,16 +38,19 @@ all-languages = [ | |
] | ||
|
||
[dependencies] | ||
bitcoin_hashes = { version = "0.11.0", default-features = false } | ||
rand_core = "0.4.0" | ||
|
||
unicode-normalization = { version = "=0.1.9", optional = true } | ||
rand = { version = "0.6.0", optional = true } | ||
rand_core = { version = ">=0.4.0, <0.7.0", optional = true } | ||
crate_rand = { package = "rand", version = ">=0.6.0, <0.9.0", optional = true } | ||
serde = { version = "1.0", default-features = false, features = [ "alloc" ], optional = true } | ||
|
||
# Enabling this feature raises the MSRV to 1.51 | ||
zeroize = {version = "1.5", features = ["zeroize_derive"], optional = true} | ||
zeroize = { version = "1.5", features = ["zeroize_derive"], optional = true } | ||
|
||
# Unexported dependnecies | ||
bitcoin_hashes = { version = "0.11.0", default-features = false } | ||
unicode-normalization = { version = "=0.1.22", optional = true } | ||
|
||
[dev-dependencies] | ||
rand = { version = "0.6.0", optional = false } | ||
rand_core = { version = "0.6.4", optional = false } | ||
crate_rand = { package = "rand", version = "0.8.5", optional = false } | ||
bitcoin_hashes = "0.11.0" # enable default features for test | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters