Skip to content

Commit

Permalink
Add OpenSSL 3 feature support to CI and configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
masa-koz committed Jan 4, 2025
1 parent 9610803 commit 4c14fa1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-xlarge]
features: ["", "--features static", "--features schannel", "--features schannel,static"]
features: ["", "--features static", "--features schannel", "--features schannel,static", "--features openssl3", "--features openssl3,static"]
exclude:
- os: ubuntu-latest
features: "--features schannel"
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ include = [
[features]
default = []
schannel = []
openssl3 = []
static = []
preview-api = []

Expand Down
2 changes: 2 additions & 0 deletions scripts/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ fn main() {
.define("QUIC_OUTPUT_DIR", quic_output_dir.to_str().unwrap());
if cfg!(feature = "schannel") {
config.define("QUIC_TLS", "schannel");
} else if cfg!(feature = "openssl3") {
config.define("QUIC_TLS", "openssl3");
} else {
config.define("QUIC_TLS", "openssl");
}
Expand Down

0 comments on commit 4c14fa1

Please sign in to comment.