Skip to content
Draft
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c54bb81
WIP
richarddavison Sep 29, 2025
95c613f
Refactor crypto and HTTP modules to support multiple TLS backends
richarddavison Dec 15, 2025
c29dd0e
CI
richarddavison Dec 15, 2025
d94eee3
Allow all features
richarddavison Dec 15, 2025
00ae1b4
Fix fixtures
richarddavison Dec 16, 2025
a642718
pkg-config
richarddavison Dec 16, 2025
18d810b
Vendored openssl
richarddavison Dec 16, 2025
0b44c08
Fix
richarddavison Dec 16, 2025
dd7330a
Cleanup features
richarddavison Dec 16, 2025
241e108
Tweak features
richarddavison Dec 17, 2025
9c8f534
Do not use macos-14
richarddavison Dec 17, 2025
43e4e58
Adjust features
richarddavison Dec 17, 2025
cb01384
Fix flags
richarddavison Dec 17, 2025
a59d2ab
Cleanup CI
richarddavison Dec 17, 2025
7a3b6fa
Cleanups
richarddavison Dec 18, 2025
0cdb19c
Fix check
richarddavison Dec 18, 2025
5aa5473
Features
richarddavison Dec 18, 2025
1246c11
Allow deadcode for providers with missing algos
richarddavison Dec 19, 2025
7656725
AES CPU feature detection
richarddavison Dec 19, 2025
003563f
Format
richarddavison Dec 19, 2025
476ace9
Clippy
richarddavison Dec 19, 2025
5eef3b6
Disable test
richarddavison Dec 19, 2025
db9db46
Disable some tests
richarddavison Dec 19, 2025
1602691
Disable tests
richarddavison Dec 19, 2025
ce0d72a
Gates
richarddavison Dec 19, 2025
80850f5
Ignore if kill fails due to process already killed
richarddavison Dec 21, 2025
322f76d
Merge branch 'main' into feat/modular-crypto
richarddavison Dec 22, 2025
b5cf8f1
Fix CI
richarddavison Dec 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
required: false
type: string
default: "nightly"
cargo_features:
required: false
type: string
description: "Cargo features to use (e.g. --no-default-features --features crypto-ring-rust,tls-ring,macro)"

jobs:
build:
Expand Down Expand Up @@ -81,11 +85,15 @@ jobs:
toolchain: ${{ inputs.toolchain }}
- name: Run tests
if: inputs.platform != 'windows'
env:
CARGO_FEATURES: ${{ inputs.cargo_features }}
run: |
make test-ci 2>&1
- name: Run tests on windows
if: inputs.platform == 'windows'
shell: msys2 {0}
env:
CARGO_FEATURES: ${{ inputs.cargo_features }}
run: |
make test-ci 2>&1
- name: Build Linux binaries
Expand Down
34 changes: 33 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,43 @@ jobs:
for i in {1..5}; do
echo "console.log(123);" > "bundle/js/test$i.js"
done
cargo clippy --all-targets --all-features -- -D warnings
cargo clippy --all-targets --features "lambda,macro,no-sdk,uncompressed,crypto-rust,tls-ring,openssl-vendored" -- -D warnings

build:
needs:
- check
strategy:
fail-fast: ${{ startsWith(github.ref, 'refs/tags/') }}
matrix:
os:
- windows-latest
- ubuntu-latest
- ubuntu-24.04-arm
- macos-latest
crypto:
- name: default
features: ""
- name: crypto-rust+tls-ring
features: "--no-default-features --features crypto-rust,tls-ring,macro"
- name: crypto-rust+tls-aws-lc
features: "--no-default-features --features crypto-rust,tls-aws-lc,macro"
- name: crypto-ring-rust+tls-ring
features: "--no-default-features --features crypto-ring-rust,tls-ring,macro"
- name: crypto-graviola-rust+tls-graviola
features: "--no-default-features --features crypto-graviola-rust,tls-graviola,macro"
- name: crypto-openssl+tls-openssl
features: "--no-default-features --features crypto-openssl,tls-openssl,macro"
exclude:
# OpenSSL requires native compilation - exclude from cross-compile targets
- os: ubuntu-latest
crypto:
name: crypto-openssl+tls-openssl
- os: ubuntu-24.04-arm
crypto:
name: crypto-openssl+tls-openssl
- os: windows-latest
crypto:
name: crypto-openssl+tls-openssl
include:
- os: windows-latest
platform: windows
Expand Down Expand Up @@ -63,6 +93,8 @@ jobs:
platform: ${{ matrix.platform }}
arch: ${{ matrix.arch }}
toolchain: ${{ matrix.toolchain }}
cargo_features: ${{ matrix.crypto.features }}

modules:
needs:
- check
Expand Down
Loading
Loading