Move package metadata to be underneath package section
The package metatadata never changes and is not necessary to look at basically ever, put it down the bottom of the manifest out of the way. Helps to keep features and dependencies closer together. Refactor only, no logic changes.
This commit is contained in:
parent
a2a9f193fe
commit
5bd3387c15
|
@ -16,10 +16,6 @@ exclude = ["tests", "contrib"]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
std = ["hashes/std", "internals/std"]
|
std = ["hashes/std", "internals/std"]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
|
||||||
all-features = true
|
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
hashes = { package = "bitcoin_hashes", version = "0.14.0", default-features = false, features = ["alloc"] }
|
hashes = { package = "bitcoin_hashes", version = "0.14.0", default-features = false, features = ["alloc"] }
|
||||||
internals = { package = "bitcoin-internals", version = "0.3.0", features = ["alloc"] }
|
internals = { package = "bitcoin-internals", version = "0.3.0", features = ["alloc"] }
|
||||||
|
@ -27,5 +23,9 @@ internals = { package = "bitcoin-internals", version = "0.3.0", features = ["all
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
hex = { package = "hex-conservative", version = "0.2.0", default-features = false, features = ["alloc"] }
|
hex = { package = "hex-conservative", version = "0.2.0", default-features = false, features = ["alloc"] }
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
all-features = true
|
||||||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
|
||||||
[lints.rust]
|
[lints.rust]
|
||||||
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(bench)', 'cfg(fuzzing)', 'cfg(kani)' ] }
|
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(bench)', 'cfg(fuzzing)', 'cfg(kani)' ] }
|
||||||
|
|
|
@ -23,10 +23,6 @@ secp-lowmemory = ["secp256k1/lowmemory"]
|
||||||
secp-recovery = ["secp256k1/recovery"]
|
secp-recovery = ["secp256k1/recovery"]
|
||||||
bitcoinconsensus-std = ["bitcoinconsensus/std", "std"]
|
bitcoinconsensus-std = ["bitcoinconsensus/std", "std"]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
|
||||||
all-features = true
|
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base58 = { package = "base58ck", version = "0.1.0", default-features = false }
|
base58 = { package = "base58ck", version = "0.1.0", default-features = false }
|
||||||
bech32 = { version = "0.11.0", default-features = false, features = ["alloc"] }
|
bech32 = { version = "0.11.0", default-features = false, features = ["alloc"] }
|
||||||
|
@ -54,6 +50,10 @@ hex_lit = "0.1.1"
|
||||||
[target.'cfg(mutate)'.dev-dependencies]
|
[target.'cfg(mutate)'.dev-dependencies]
|
||||||
mutagen = { git = "https://github.com/llogiq/mutagen" }
|
mutagen = { git = "https://github.com/llogiq/mutagen" }
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
all-features = true
|
||||||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "bip32"
|
name = "bip32"
|
||||||
|
|
||||||
|
|
|
@ -22,10 +22,6 @@ io = ["bitcoin-io"]
|
||||||
# Smaller (but slower) implementation of sha256, sha512 and ripemd160
|
# Smaller (but slower) implementation of sha256, sha512 and ripemd160
|
||||||
small-hash = []
|
small-hash = []
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
|
||||||
all-features = true
|
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
hex = { package = "hex-conservative", version = "0.2.0", default-features = false }
|
hex = { package = "hex-conservative", version = "0.2.0", default-features = false }
|
||||||
|
|
||||||
|
@ -37,5 +33,9 @@ serde = { version = "1.0", default-features = false, optional = true }
|
||||||
serde_test = "1.0"
|
serde_test = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
all-features = true
|
||||||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
|
||||||
[lints.rust]
|
[lints.rust]
|
||||||
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(bench)', 'cfg(hashes_fuzz)', 'cfg(rust_v_1_64)' ] }
|
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(bench)', 'cfg(hashes_fuzz)', 'cfg(rust_v_1_64)' ] }
|
||||||
|
|
|
@ -18,14 +18,14 @@ default = []
|
||||||
std = ["alloc"]
|
std = ["alloc"]
|
||||||
alloc = []
|
alloc = []
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
|
||||||
all-features = true
|
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version = "1.0.103", default-features = false, optional = true }
|
serde = { version = "1.0.103", default-features = false, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
all-features = true
|
||||||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
|
||||||
[lints.rust]
|
[lints.rust]
|
||||||
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(rust_v_1_64)', 'cfg(rust_v_1_61)'] }
|
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(rust_v_1_64)', 'cfg(rust_v_1_61)'] }
|
||||||
|
|
|
@ -17,10 +17,6 @@ default = ["std"]
|
||||||
std = ["alloc", "internals/std"]
|
std = ["alloc", "internals/std"]
|
||||||
alloc = ["internals/alloc"]
|
alloc = ["internals/alloc"]
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
|
||||||
all-features = true
|
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
internals = { package = "bitcoin-internals", version = "0.3.0", features = ["alloc"] }
|
internals = { package = "bitcoin-internals", version = "0.3.0", features = ["alloc"] }
|
||||||
|
|
||||||
|
@ -30,5 +26,9 @@ serde = { version = "1.0.103", default-features = false, features = ["derive"],
|
||||||
serde_test = "1.0"
|
serde_test = "1.0"
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
|
||||||
|
[package.metadata.docs.rs]
|
||||||
|
all-features = true
|
||||||
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
|
||||||
[lints.rust]
|
[lints.rust]
|
||||||
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(kani)'] }
|
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(kani)'] }
|
||||||
|
|
Loading…
Reference in New Issue