From 6f197788a75f0b89b8729292a50eba2687efa21e Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 30 Apr 2020 13:14:27 +0200 Subject: 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. --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- cgit v1.2.3