I'm not very good at rust, but it seems like building the wheel tries to use two versions of rustls:
error[E0308]: mismatched types
--> apple-auth-utils/src/requests.rs:110:20
|
110 | Arc::new(get_rustls_config_dangerous().expect("Failed to build rustls config"))).build();
| -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `rustls::client::client_conn::ClientConfig`, found `ClientConfig`
| |
| arguments to this function are incorrect
|
= note: `ClientConfig` and `rustls::client::client_conn::ClientConfig` have similar names, but are actually distinct types
note: `ClientConfig` is defined in crate `rustls`
--> /home/lars/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.21.12/src/client/client_conn.rs:128:1
|
128 | pub struct ClientConfig {
| ^^^^^^^^^^^^^^^^^^^^^^^
note: `rustls::client::client_conn::ClientConfig` is defined in crate `rustls`
--> /home/lars/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustls-0.23.15/src/client/client_conn.rs:156:1
|
156 | pub struct ClientConfig {
| ^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `rustls` are being used?
note: associated function defined here
--> /usr/src/debug/rust/rustc-1.81.0-src/library/alloc/src/sync.rs:386:12
I tried to update the toml to use 0.23 instead of 0.21, but then I get errors regarding the dangerous_configuration feature. How can I solve this?
I'm not very good at rust, but it seems like building the wheel tries to use two versions of rustls:
I tried to update the toml to use 0.23 instead of 0.21, but then I get errors regarding the
dangerous_configuration
feature. How can I solve this?