Skip to content

Commit a842b82

Browse files
authored
Update dependencies and enhance TLS support with AWS LC (#47)
* Update dependencies and enhance TLS support with AWS LC - Added new dependencies including `aws-lc-fips-sys`, `bindgen`, `cexpr`, `clang-sys`, `itertools`, `libloading`, `prettyplease`, `sha2`, and `typenum` in `Cargo.lock` and `Cargo.toml`. - Updated `rustls` configuration to utilize `aws-lc-rs` for TLS support, replacing `ring`. - Refactored `pulsing-actor` crate to integrate `aws-lc-rs` for TLS, ensuring compatibility with the updated dependencies. - Introduced ARM64 cross-compilation checks in CI workflow for enhanced build support. * Enhance CI workflow for Rust projects - Added steps for setting up the build environment, caching Rust builds, checking code formatting, running Clippy for linting, building the project, and executing tests. - Removed redundant steps to streamline the CI process, ensuring efficient and effective builds across multiple platforms. * Fix formatting and update Rust flags in configuration - Corrected the formatting in `.cargo/config.toml` by ensuring a newline at the end of the file. - Updated `rustflags` to maintain consistency in the configuration for ARM builds. * Enhance CI workflow for Rust and Python projects - Introduced a new lint job for Rust and Python, including formatting checks and linting with Clippy and Ruff. - Streamlined Rust test jobs to focus on building and testing, removing redundant formatting checks. - Updated Python test jobs to include coverage collection and improved naming for clarity. - Added steps for uploading coverage reports to Codecov, ensuring better visibility of test coverage. - Refactored job names and comments for improved readability and organization in the CI configuration. * Refactor CI workflow and enhance build processes - Updated CI configuration for improved clarity and organization, including renaming jobs and refining comments. - Streamlined Rust ARM64 cross-compilation checks, focusing on building without testing. - Enhanced Python build jobs to support multi-platform testing and added a new job for building Linux ARM64 wheels. - Simplified steps for installing ARM64 targets and tools, ensuring a more efficient setup process. - Adjusted job names for better readability and consistency across the CI pipeline. * Refactor dependencies and update CI workflow - Removed unused dependencies from `Cargo.lock` and `Cargo.toml`, including `aws-lc-fips-sys`, `bindgen`, `cexpr`, `clang-sys`, `itertools`, `libloading`, and `prettyplease`. - Updated `aws-lc-rs` configuration in `Cargo.toml` to remove the `bindgen` feature. - Streamlined CI workflow by removing ARM64 cross-compilation checks and enhancing Python build and test jobs for better clarity and organization. * Enhance CI workflow for macOS and Linux builds - Introduced separate jobs for building wheels on macOS and Linux, improving clarity and organization. - Updated Python version for macOS builds to 3.10 and refined caching strategies for Rust builds. - Enhanced testing jobs for macOS and Linux, including multi-version and multi-architecture support. - Added a new job for testing on Fedora, ensuring comprehensive coverage across platforms. - Improved artifact naming conventions for better identification of build outputs.
1 parent 858681c commit a842b82

6 files changed

Lines changed: 381 additions & 202 deletions

File tree

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ CFLAGS = "-D__ARM_ARCH=7"
1313

1414
# Force ring over aws-lc for ARM builds
1515
[build]
16-
rustflags = ["--cfg", "aws_lc_sys_use_ring"]
16+
rustflags = ["--cfg", "aws_lc_sys_use_ring"]

0 commit comments

Comments
 (0)