lychee/lychee-bin/src
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
..
archive Avoid unwrap when deserializing statuscode 2023-04-11 00:23:23 +02:00
commands feat: Add support for --dump-inputs (#1159) 2023-07-16 18:08:14 +02:00
formatters Add check duration to compact format 2023-06-01 18:31:41 +02:00
cache.rs Add documentation 2022-06-21 10:03:31 +02:00
client.rs Introduce fragment checking for links to markdown files. (#1126) 2023-07-31 16:04:00 +02:00
color.rs Prettier colors and progress bar (#1069) 2023-05-17 14:35:26 +02:00
main.rs Fix rustls-tls feature (#1194) 2023-08-04 15:11:29 +02:00
options.rs Introduce fragment checking for links to markdown files. (#1126) 2023-07-31 16:04:00 +02:00
parse.rs Extend remap feature (#1133) 2023-07-05 15:05:19 +02:00
stats.rs Add check duration (in seconds) to report (#1064) 2023-05-06 00:47:32 +02:00
time.rs Add caching functionality (v2) (#443) 2022-01-14 15:25:51 +01:00
verbosity.rs Update verbosity docs 2023-02-25 15:44:43 +01:00