Merge rust-bitcoin/rust-bitcoin#1315: Fix `test_data` dir exclusion

13e9a133df fix test_data dir exclusion (Riccardo Casatta)

Pull request description:

  I noted our released crate `0.29.1` was bigger than expected and noted with `cargo package --list` that even with our exclude the `test_data` dir was included. I am also going to backport this.

  As specified in the doc:

  `foo/` matches any directory with the name `foo` anywhere in the package.

ACKs for top commit:
  apoelstra:
    ACK 13e9a133df
  sanket1729:
    ACK 13e9a133df

Tree-SHA512: 298c1a50f3914dec19600529daee1978f47dc47ce288fdb5c575cd67a5c24421990dcf379b81b3637917d2d17b8585b853092e9970803959b22f36c0133e1b19
This commit is contained in:
Riccardo Casatta 2022-10-13 11:58:44 +02:00
commit abc1d473b1
No known key found for this signature in database
GPG Key ID: FD986A969E450397
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ documentation = "https://docs.rs/bitcoin/"
description = "General purpose library for using and interoperating with Bitcoin and other cryptocurrencies."
keywords = [ "crypto", "bitcoin" ]
readme = "README.md"
exclude = ["./test_data"]
exclude = ["test_data/"]
edition = "2018"
# Please don't forget to add relevant features to docs.rs below