-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow using rustls
instead of OpenSSL
#88
Comments
My preferred solution would be 2. The git2-hyper solution seems technically reasonable, but the crate seems very young and already has an out-of-date git2 dependency, so this would need a more mature, actively-maintained implementation. I don't mind adding a sparse registry support separately, but this only covers fetch of individual crates by name, and not listing them all and (currently WIP) learning about newly-published crates. |
Is migrating to It's technically possible to support both backends, but would create additional complexity and maintenance burden, so I'd prefer to avoid that. |
Yes |
Gonna give this a try and see if |
The month-old progress update for @BlackHoleFox did you make any progress on migrating this crate to |
@Shnatsel Yeah, i'll pick this up again this week, sorry. I got thrown off by the amount of boilerplate you need to wrap |
Alright! Perhaps you could check with Byron, the author of |
The integration into Cargo might also be useful as a reference point: rust-lang/cargo#11448 |
Definitely! A cumbersome API is something to improve, especially if |
Just a little +1 for this idea from the maintainers of the If/when |
Apologies, this issue was auto-closed which wasn't actually my intention nor my doing even though GitHub claims it was 😅. Could you recheck to see if the issue is fixed with the latest version 2.0 or above? Thank you. |
I don't believe that this is fully addressed yet. The new I think another feature would need to be added which exposes the |
It's true - to make this work one would have to prevent ending up with the |
In
cargo audit
we're looking to get rid of OpenSSL because of its security track record. So we needcrates-index
to allow usingrustls
instead of OpenSSL.There is a number of way to accomplish this:
hyper
transport forlibgit2
: https://github.com/henry40408/git2-hyperlibgit2
togitoxide
: Replace git2 with gitoxide #82Which option do you prefer, as the maintainer?
The text was updated successfully, but these errors were encountered: