-
Notifications
You must be signed in to change notification settings - Fork 127
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 multiple tls features #237
Conversation
0f79fad
to
17575d2
Compare
I'm currently on vacation, so I cannot spent too much time reviewing this until end of the week. Could you maybe explain a bit more what this fixes, what kind of a situation is broken right now? |
No probs at all, I'm not in a rush to get this merged, please take your time 😄. I'll leave the explanation here so you can read it when you get back. The main issue is that cargo features should be additive but in this case There are a few different options here:
|
17575d2
to
53c1086
Compare
fix imports fix vendored-openssl fmt
53c1086
to
bf22fcd
Compare
Hey, sorry for no answering but I don't work in Prisma anymore and I gave up my admin rights to this repo. Please merge and continue working on it without me. All the best! |
So I guess my point is now: what do you all think? I'd be in favour of adding a bit of documentation for the new behaviour and merging #308 |
I think #308 looks like a much better option, provided the selection order in the case of multiple features is documented as you suggested |
Currently the main branch fails to compile if multiple tls features are selected. This is an attempt at one option to enable this by storing the
TlsStream
s in an enum and delegating to the current variant. This also allows a choice of tls crate in the config where multiple features are enabled.