#openssl error

1 messages · Page 1 of 1 (latest)

hazy atlas
#

error: failed to run custom build command for openssl-sys v0.9.101
I'm learning actix_web and I'm facing a problem when connecting SSL, openssl and rustls gives errors, I haven't found a solution, I'm using Windows 11 and RustRover.

fickle nest
#

share cargo.toml

hazy atlas
# fickle nest share cargo.toml
actix-web = "4.5.1"
actix-files = "0.6.5"
actix-session = { version = "0.9", features = ["cookie-session"] }
log = "0.4.21"
serde = { version = "1.0.197", features = ["derive"] }
env_logger = "0.11.3"
futures = "0.3.30"
chrono = "0.4.35" ```
#

ops

fickle nest
#

first of all you need rustls as a dep i think

#

actix-web = { version = "4.5.1", features = ["rustls"] }
rustls = "0.21.7"

try this

hazy atlas
fickle nest
#

what os are you on

hazy atlas
#

Windows 11

fickle nest
#

you need to install openssl i think

hazy atlas
#

And set the environment variables

#

maybe it's meant for linux?

spring nymph
#

There’s nothing in that cargo.toml that suggests openssl should be there.