-
Notifications
You must be signed in to change notification settings - Fork 290
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
Rust bindings #18
Comments
To use libquic, some implementation-specific C++ classes should be implemented seperately, to fit on target language. Sample C++ implementations are here (net/tools/quic on chromium): https://chromium.googlesource.com/chromium/src.git/+/master/net/tools/quic/ I'm not familiar with Rust.. But If you see goquic's approach, almost of the codes are copied from sample C++ implementation, and only some end-point logics (managing sockets, threading, alarm implementations, HTTP response header/body handling, ...) are replaced with CGO binding, which is actually implemented in Go. |
@cholcombe973 Did you fix this the rust binding for QUIC ? |
I didn't no. It was harder than I expected to generate bindings On Aug 18, 2016 11:10 PM, "Kishorekumar Neelamegam" <
|
I'm trying to create some rust bindings for libquic but I'm having trouble finding which .h file to generate against. The tool I'm using is called rust-bindgen: https://github.com/crabtw/rust-bindgen. If you wouldn't mind taking a quick peek at this I'd very much appreciate it :).
The text was updated successfully, but these errors were encountered: