From 752e68bcef03edbb12c7d406d79835f4880d6a49 Mon Sep 17 00:00:00 2001 From: Daniel Johnson Date: Fri, 10 Jun 2022 14:40:03 -0700 Subject: [PATCH] exclude non-library sources when uploading to crates.io My main motivation is to remove the test data from `/tests/`, but I figured I'd clean up the other unneeded things while I was at it. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index c2a8c28..27c8b9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,7 @@ description = "Determine whether characters have the XID_Start or XID_Continue p repository = "https://github.com/dtolnay/unicode-ident" documentation = "https://docs.rs/unicode-ident" readme = "README.md" +exclude = ["/tests/", "/benches/", "/.github/", ".gitignore"] [dev-dependencies] criterion = { version = "0.3", default-features = false }