From 77281ed9269b279addaa74be0df7e1dc14088f10 Mon Sep 17 00:00:00 2001 From: Christian Visintin Date: Mon, 8 Jun 2026 21:18:43 +0200 Subject: [PATCH] fix(publish): anchor include globs to crate root Unanchored include patterns (LICENSE, README.md) matched at any depth via gitignore-glob semantics, pulling 437 site/node_modules files into the package and breaking cargo publish's dirty check. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b0f3dee..3bcc1f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" repository = "https://github.com/veeso/termscp" categories = ["command-line-utilities"] homepage = "https://termscp.rs" -include = ["src/**/*", "build.rs", "LICENSE", "README.md", "CHANGELOG.md"] +include = ["/src/**/*", "/build.rs", "/LICENSE", "/README.md", "/CHANGELOG.md"] keywords = ["terminal", "ftp", "scp", "sftp", "tui"] readme = "README.md" rust-version = "1.89.0"