You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing a problem dependency problem with version 0.6.
In my Cargo.toml I have:
sqlx = { version = "0.6", features = [ "runtime-tokio-native-tls", "postgres" ] }
Unfortunately I am facing the following problem:
error: only one of ['runtime-actix-native-tls', 'runtime-async-std-native-tls', 'runtime-tokio-native-tls', 'runtime-actix-rustls', 'runtime-async-std-rustls', 'runtime-tokio-rustls'] can be enabled
--> /home/bigfoot/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-rt-0.6.2/src/lib.rs:23:1
|
23 | / compile_error!(
24 | | "only one of ['runtime-actix-native-tls', 'runtime-async-std-native-tls', \
25 | | 'runtime-tokio-native-tls', 'runtime-actix-rustls', 'runtime-async-std-rustls', \
26 | | 'runtime-tokio-rustls'] can be enabled"
27 | | );
| |_^
error: could not compile `sqlx-rt` due to previous error
warning: build failed, waiting for other jobs to finish...
I have seen this discussion but it doesn't really seem to answer my problem. The OP seems to be talking about installing it with cargo, not as a dependency, if I understand well. It's not what I wish to do.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am facing a problem dependency problem with version 0.6.
In my
Cargo.toml
I have:Unfortunately I am facing the following problem:
I have seen this discussion but it doesn't really seem to answer my problem. The OP seems to be talking about installing it with cargo, not as a dependency, if I understand well. It's not what I wish to do.
Thank you very much for any help and time
Beta Was this translation helpful? Give feedback.
All reactions