libquic
libquic copied to clipboard
Rust bindings
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 :).
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/ Corresponding Go bindings are here: https://github.com/devsisters/goquic/tree/master/src
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" < [email protected]> wrote:
@cholcombe973 https://github.com/cholcombe973 Did you fix this the rust binding for QUIC ?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/devsisters/libquic/issues/18#issuecomment-240936350, or mute the thread https://github.com/notifications/unsubscribe-auth/AC6qExYSWXYSmnwlwpoTBuqq0Byy0SGQks5qhUi6gaJpZM4HLMaQ .