hashes: Clean up optional dependencies
Clean up the optional dependencies by doing: - Put the optional dependencies below the non-optional dependencies as is customary, separated by a line of whitespace. - Put `optional = true` as the last item so as to be uniform - Put `core2` at the top, aids reading because of how the comments are distributed (`core2` does not have a comment on it).
This commit is contained in:
parent
5b4f19c01f
commit
9b5c2ad7af
|
@ -20,12 +20,11 @@ schemars = ["actual-schemars", "dyn-clone"]
|
|||
serde-std = ["serde/std"]
|
||||
|
||||
[dependencies]
|
||||
# Only enable this if you explicitly do not want to use "std", otherwise enable "serde-std".
|
||||
serde = { version = "1.0", default-features = false, optional = true }
|
||||
core2 = { version = "0.3.0", optional = true, default_features = false }
|
||||
# TODO: change to proper version before release
|
||||
internals = { path = "../internals", package = "bitcoin-internals" }
|
||||
|
||||
core2 = { version = "0.3.0", default_features = false, optional = true }
|
||||
# Only enable this if you explicitly do not want to use "std", otherwise enable "serde-std".
|
||||
serde = { version = "1.0", default-features = false, optional = true }
|
||||
# Do NOT use this as a feature! Use the `schemars` feature instead. Can only be used with "std" enabled.
|
||||
actual-schemars = { package = "schemars", version = "<=0.8.3", optional = true }
|
||||
# Do NOT enable this dependency, this is just to pin dyn-clone (transitive dep from schemars)
|
||||
|
|
Loading…
Reference in New Issue