tokio-rs / tls

A collection of Tokio based TLS libraries.

Home Page:https://tokio.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

test fails with only feature http1 enabled

jonassmedegaard opened this issue · comments

One test fenced with feature http1 fails like this when tested with cargo test --no-default-features --features http1:

error[E0599]: no method named `build` found for struct `ConnectorBuilder` in the current scope
   --> src/connector/builder.rs:271:14
    |
27  | pub struct ConnectorBuilder<State>(State);
    | ------------------------------------------ method `build` not found for this
...
271 |             .build();
    |              ^^^^^ method not found in `ConnectorBuilder<WantsProtocols2>`

Apparently that test additionally requires feature2, or need to be rewritten somehow.