Add excludes to manifests
We can check which files are included in the packaged release with `cargo package --list `. Add an `exclude` section to each manifest that excludes `tests/` and `contrib/`. Not all crates have a `tests/` directory yet but they should so add the exclude anyway to future proof the crates.
This commit is contained in:
parent
cc3b5a080b
commit
12f5e37ed9
|
@ -9,7 +9,7 @@ documentation = "https://docs.rs/bitcoin/"
|
||||||
description = "General purpose library for using and interoperating with Bitcoin and other cryptocurrencies."
|
description = "General purpose library for using and interoperating with Bitcoin and other cryptocurrencies."
|
||||||
keywords = [ "crypto", "bitcoin" ]
|
keywords = [ "crypto", "bitcoin" ]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
exclude = ["tests/"]
|
exclude = ["tests", "contrib"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
# Please don't forget to add relevant features to docs.rs below
|
# Please don't forget to add relevant features to docs.rs below
|
||||||
|
|
|
@ -10,6 +10,7 @@ documentation = "https://docs.rs/bitcoin_hashes/"
|
||||||
keywords = [ "crypto", "bitcoin", "hash", "digest" ]
|
keywords = [ "crypto", "bitcoin", "hash", "digest" ]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
exclude = ["tests", "contrib"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["std"]
|
default = ["std"]
|
||||||
|
|
|
@ -10,6 +10,7 @@ categories = ["cryptography::cryptocurrencies"]
|
||||||
keywords = ["internal"]
|
keywords = ["internal"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
exclude = ["tests", "contrib"]
|
||||||
|
|
||||||
# Please don't forget to add relevant features to docs.rs below.
|
# Please don't forget to add relevant features to docs.rs below.
|
||||||
[features]
|
[features]
|
||||||
|
|
Loading…
Reference in New Issue