lychee/lychee-lib/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
..
basic_auth feat: add support for basic auth per URI (#1110) 2023-06-26 12:06:24 +02:00
extract Introduce fragment checking for links to markdown files. (#1126) 2023-07-31 16:04:00 +02:00
filter Make checking email addresses optional (#1171) 2023-07-19 19:58:38 +02:00
quirks Don't check Twitter URLs (#1147) 2023-07-13 17:31:59 +02:00
types Introduce fragment checking for links to markdown files. (#1126) 2023-07-31 16:04:00 +02:00
utils Introduce fragment checking for links to markdown files. (#1126) 2023-07-31 16:04:00 +02:00
client.rs Fix rustls-tls feature (#1194) 2023-08-04 15:11:29 +02:00
collector.rs feat: Add support for --dump-inputs (#1159) 2023-07-16 18:08:14 +02:00
lib.rs Cookie Support (#1146) 2023-07-13 17:32:41 +02:00
remap.rs Extend remap feature (#1133) 2023-07-05 15:05:19 +02:00
retry.rs Bump octocrab from 0.19.0 to 0.20.0 (#1045) 2023-04-17 23:14:24 +02:00
test_utils.rs Harden URL detection and extend verbatim elements (#899) 2023-01-04 00:38:19 +01:00