From 179ca03ca50dc1bd05103ed8faf56d01889aba1f Mon Sep 17 00:00:00 2001 From: mulhern Date: Wed, 2 Aug 2023 11:37:04 -0400 Subject: [PATCH] Exclude ci directory from packaged crate I do not think there is compelling reason to release the ci support as part of a Rust source code package. In addition, the crate, as it is released now, gets flagged in some security scans due to the presence of Dockerfiles which are considered to be following some unsafe practices. Most Linux distros package using the vendored appraoch and provide a vendor tarfile of an application's dependencies. Scanners will tend to expect that the contents of the vendor tarfile will be source code. These Dockerfiles are already being flagged by some scanners; other contents of the ci directory may be flagged in future. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index cff2c9e66..bd6d6fb04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,7 @@ A library to acquire a stack trace (backtrace) at runtime in a Rust program. autoexamples = true autotests = true edition = "2018" +exclude = ["/ci/"] [workspace] members = ['crates/cpp_smoke_test', 'crates/as-if-std']