lychee/.github/workflows
Stefan Kreutz b1b32e7717
Fix rustls-tls feature (#1194)
* Fix rustls-tls feature

Commit 14e74879 (cookie support #1146) re-introduced an unconditional
dependency on the openssl-sys crate. That is, building Lychee with the
Rustls TLS backend now requires OpenSSL. I suppose this change was
unintended, maybe due to automatic conflict resolution. If not, please
let me know.

You can review the re-introduced dependency like so:

```
cargo tree --no-default-features --features rustls-tls -i openssl-sys
```

This commit puts the OpenSSL dependency behind the native-tls feature
flag again.

You can check the TLS features like so:

```
cargo check --workspace --all-targets --features vendored-openssl

cargo check --workspace --all-targets --all-features

cargo check --workspace --all-targets --no-default-features --features rustls-tls
```

Maybe this should be added to CI. But I don't want to waste anybody's
time.

* Check feature flags during CI

Adds a new CI job 'check-feature-flags' to verify the following:

- Lychee with rustls-tls feature only doesn't depend on OpenSSL
- Cargo check passes with default features
- Cargo check passes with all features
- Cargo check passes with rustls-tls feature only
2023-08-04 15:11:29 +02:00
..
auto-merge.yml ci: update checkout action to v3 (#927) 2023-01-21 16:13:48 +01:00
ci.yml Fix rustls-tls feature (#1194) 2023-08-04 15:11:29 +02:00
debug_build.yml Change back to macos-latest as there don't seem to be any bigger workers available right now 2023-04-25 17:54:57 +02:00
docker.yml Alpine Docker Image Support (#1074) 2023-05-22 12:36:22 +02:00
links.yml Only create link issue on error 2023-06-30 23:46:25 +02:00
release.yml Change back to macos-latest as there don't seem to be any bigger workers available right now 2023-04-25 17:54:57 +02:00
toc-generator.yml Bump actions/checkout from 2 to 3 (#1166) 2023-07-17 21:31:58 +02:00