Skip to content

Commit 277d055

Browse files
authored
chore(ffi): change hyper.h to only include first line of docs (#3373)
This will let us write much more documentation per item without worrying about increasing the size of the hyper.h header file.
1 parent cf87eda commit 277d055

File tree

2 files changed

+8
-304
lines changed

2 files changed

+8
-304
lines changed

capi/cbindgen.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
# See https://github.com/eqrion/cbindgen/blob/master/docs.md#cbindgentoml for
1+
# See https://github.com/mozilla/cbindgen/blob/master/docs.md#cbindgentoml for
22
# a list of possible configuration values.
33
language = "C"
44
header = """/*
5-
* Copyright 2021 Sean McArthur. MIT License.
5+
* Copyright 2023 Sean McArthur. MIT License.
66
* Generated by gen_header.sh. Do not edit directly.
7+
*
8+
* Full docs at: https://docs.rs/hyper/latest/hyper/ffi/index.html
79
*/"""
810
include_guard = "_HYPER_H"
911
no_includes = true
1012
sys_includes = ["stdint.h", "stddef.h", "stdbool.h"]
1113
cpp_compat = true
1214
documentation_style = "c"
15+
documentation_length = "short"

0 commit comments

Comments
 (0)