| Crates.io | libnghttp2-sys |
| lib.rs | libnghttp2-sys |
| version | 0.1.11+1.64.0 |
| created_at | 2018-09-12 19:57:19.785896+00 |
| updated_at | 2025-01-11 23:31:58.127959+00 |
| description | FFI bindings for libnghttp2 (nghttp2) |
| homepage | https://github.com/alexcrichton/nghttp2-rs |
| repository | https://github.com/alexcrichton/nghttp2-rs |
| max_upload_size | |
| id | 84434 |
| size | 9,937,208 |
A common library for linking nghttp2 to rust programs (also known as
libnghttp2).
Before bindgen:
nghttp2ver.h.in to nghttp2ver.hnghttp2ver.h to remove @FOO@, replacing with 0$ bindgen \
./nghttp2/lib/includes/nghttp2/nghttp2.h \
-o src/lib.rs \
--no-layout-tests \
--distrust-clang-mangling \
--no-prepend-enum-name \
--rustfmt-bindings \
--whitelist-function '.*nghttp2.*' \
--whitelist-type '.*nghttp2.*' \
--whitelist-var '.*nghttp2.*' \
-- \
-I ./nghttp2/lib/includes
Afterwards
*vprintf*va_list-related things#![allow(bad_style)]This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in nghttp2-sys by you, as defined in the Apache-2.0 license,
shall be dual licensed as above, without any additional terms or conditions.