alexcrichton / curl-rust

Rust bindings to libcurl
MIT License
1k stars 234 forks source link

Vendor libgss when static-curl and spnego features are set #481

Open hhirtz opened 1 year ago

hhirtz commented 1 year ago

For spnego authentication to work, curl needs to be built with "a suitable GSS-API library or SSPI on Windows" [0].

Right now, the build fails if static-curl and spnego features are set, and no suitable lib is found. What do you think of vendoring this dependency in this case?

This is for proxy authentication support in cargo: https://github.com/rust-lang/cargo/issues/7330 https://github.com/rust-lang/cargo/pull/11433

[0] https://docs.rs/curl/0.4/curl/easy/struct.Auth.html#method.gssnegotiate