Skip to content

Commit 037356f

Browse files
authored
Exclude ci directory from packaged crate (#555)
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.
1 parent d008d39 commit 037356f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ A library to acquire a stack trace (backtrace) at runtime in a Rust program.
1414
autoexamples = true
1515
autotests = true
1616
edition = "2018"
17+
exclude = ["/ci/"]
1718

1819
[workspace]
1920
members = ['crates/cpp_smoke_test', 'crates/as-if-std']

0 commit comments

Comments
 (0)