From 1fa21ff0565b0f8ac5e0a7a0386bd7bb40ac8a83 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 31 Jan 2020 23:38:26 +0800 Subject: [PATCH] Exclude images to reduce crate by 3MB (#1316) Maybe there are more candidates for exclusion, but 'images/' seemed obviously unnecessary. Something I started realizing lately is that cargo puts most of the root directory into the crate archive, causing huge crates to appear on crates.io. Now that I am in China, I do seem to notice every kilobyte. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 48e0e63823..8879b76253 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ default-run = "nu" repository = "https://github.com/nushell/nushell" homepage = "https://www.nushell.sh" documentation = "https://www.nushell.sh/book/" +exclude = ["images"] [workspace]