Skip to content

Commit

Permalink
Update mountpoint-s3-crt-sys crate excludes to reduce package size (#989
Browse files Browse the repository at this point in the history
)

* Update mountpoint-s3-crt-sys crate excludes to reduce package size

Signed-off-by: Daniel Carl Jones <[email protected]>

* Revert removal of aws-lc/ssl/

Signed-off-by: Daniel Carl Jones <[email protected]>

---------

Signed-off-by: Daniel Carl Jones <[email protected]>
  • Loading branch information
dannycjones authored Sep 3, 2024
1 parent 0f04ea4 commit ae4f909
Showing 1 changed file with 29 additions and 10 deletions.
39 changes: 29 additions & 10 deletions mountpoint-s3-crt-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,57 @@ repository = "https://github.com/awslabs/mountpoint-s3"
description = "Rust FFI bindings to the AWS Common Runtime for Mountpoint for Amazon S3."
exclude = [
# Exclude large files/directories not required to build the CRT (e.g. tests, docs)
"crt/*/samples/**",
"crt/*/tests",
"!crt/aws-lc/tests/compiler_features_tests",
"!crt/s2n-tls/tests/features",
"crt/*/verification",
"crt/*/include/aws/testing",
"crt/**/docs",
"crt/aws-c-cal/ecdsa-fuzz-corpus/*",
"crt/aws-c-common/verification/*",
"crt/aws-lc/crypto/*/*_tests.txt",
"crt/aws-c-common/AWSCRTAndroidTestRunner",
"crt/aws-c-s3/benchmarks",
"crt/aws-lc/**/*test*.go",
"crt/aws-lc/**/*test*.json",
"crt/aws-lc/**/*test*.py",
"crt/aws-lc/**/*test*.txt",
"crt/aws-lc/crypto/**/*_test.cc",
"crt/aws-lc/crypto/cipher_extra/test/*",
"crt/aws-lc/crypto/evp_extra/*_test.cc",
"crt/aws-lc/crypto/evp_extra/*_tests.txt",
"crt/aws-lc/crypto/fipsmodule/bn/test/*",
"crt/aws-lc/crypto/fipsmodule/*/*_tests.txt",
"crt/aws-lc/crypto/fipsmodule/policydocs/*",
"crt/aws-lc/crypto/fipsmodule/sha/testvectors/*",
"crt/aws-lc/crypto/hpke/hpke_test_vectors.txt",
"crt/aws-lc/crypto/hpke/test-vectors.json",
"crt/aws-lc/crypto/kyber/kat/*",
"crt/aws-lc/crypto/x509/*_test.cc",
"crt/aws-lc/crypto/x509/test/*",
"crt/aws-lc/crypto/ocsp/test/*",
"crt/aws-lc/fuzz/*",
"crt/aws-lc/generated-src/crypto_test_data.cc",
"crt/aws-lc/ssl/ssl_test.cc",
"crt/aws-lc/ssl/test/*",
"crt/aws-lc/third_party/googletest/test/*",
"crt/aws-lc/third_party/googletest/*",
"crt/aws-lc/third_party/wycheproof_testvectors/*",
"crt/aws-lc/util/fipstools/acvp/acvptool/test/*",
"crt/aws-lc/util/fipstools/delocate/testdata/*",
"crt/aws-lc/tool",
"crt/aws-lc/util",
"!crt/aws-lc/util/fipstools/CMakeLists.txt",
"!crt/aws-lc/util/fipstools/acvp/modulewrapper/CMakeLists.txt",
"crt/s2n-tls/compliance/*",
"crt/s2n-tls/docker-images/*",
"crt/s2n-tls/nix/*",
"crt/s2n-tls/scram/SCRAM_paper.pdf",
"**/.github/**",
"**/*.jar",
"**/*.md",
"**/*.png",
"**/.gitignore",
"**/.clang-format",
"**/.clang-tidy",
"**/README",
"**/CONTRIBUTORS",
"**/format-check.py",
"**/format-check.sh",
"**/codebuild/**",
"**/codereview.settings",
"**/.builder/**",
]

[build-dependencies]
Expand Down

1 comment on commit ae4f909

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: ae4f909 Previous: 0f04ea4 Ratio
readdir_1000 0.665 seconds 0.133 seconds 5

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.