aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-04-30 13:14:27 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-04-30 13:14:27 +0200
commit6f197788a75f0b89b8729292a50eba2687efa21e (patch)
tree3fefa486d221122382e42807d97850d770adaf23
parentf0ea067812451c495fc19b71d8f20fa126c976ab (diff)
downloadevtclib-6f197788a75f0b89b8729292a50eba2687efa21e.tar.gz
evtclib-6f197788a75f0b89b8729292a50eba2687efa21e.tar.bz2
evtclib-6f197788a75f0b89b8729292a50eba2687efa21e.zip
Cargo: only include sources
The source code itself is pretty small, however, the repository also contains >40MB of test data in the form of evtc log files. We don't want all consumers of this library to download all of this test data just because they want to use the library. This commit excludes everything except for the source (and some metadata files) from the cargo package, allowing a thin distribution. The git repository will still contain the tests, and the CI will still run them.
-rw-r--r--Cargo.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index cec0877..e2d59e3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,6 +7,12 @@ description = "An evtc parsing library"
readme = "README.md"
repository = "https://gitlab.com/dunj3/evtclib"
license = "MIT"
+include = [
+ "/src/**/*.rs",
+ "/README.md",
+ "/CHANGELOG.md",
+ "/LICENSE",
+]
[dependencies]
num-traits = "0.2"