-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support Hyper 0.10 #6
Comments
Blocked on nickel-org/nickel.rs#395 |
nickel-org/nickel.rs#395 was apparently resolved by nickel-org/nickel.rs#401. |
Well the issue was mostly eliminated by moving Nickel support out of mainline I've thought about how I can make it work with custom derive but that would require turning service traits into structs, I think, where the service methods become inherent methods and the derived trait is like It would work but the main issue is serializers and deserializers; since they can't be type-erased, the exact serializer/deserializer types either have to be hardcoded into service struct definitions or else each struct has to be generic over them (or the adapter type itself), and that means forcing generics on any function that takes service structs. I really do prefer the trait approach as it allows type erasure and passing services around as opaque types while still being generic over (de)serializer types, but it makes it more difficult to adapt them to custom-derive though I think I could make it work still. |
What's the status on this? I'm running into troubles during compilation because of the old version of Hyper still using an ssl library incompatible with OpenSSL 1.1.0 lib and includes. |
@discosultan The latest version of Multipart supports Hyper 0.10, I'm not sure why this is still open. |
Sorry, I was thinking about the wrong repo. I'll get something out later today. |
That'd be awesome, thanks @abonander! |
I think this is as simple as doing
hyper = ">=0.9, < 0.11"
for Anterofit and multipart, but it probably needs testing.The text was updated successfully, but these errors were encountered: