servicepoint-binding-c/cbindgen.toml
Vinzenz Schroeter 389ced492c
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m24s
Rust / build-size-gnu-unstable (pull_request) Failing after 1m28s
change typedef style, add optional logging
2025-05-16 00:33:27 +02:00

48 lines
1 KiB
TOML

language = "C"
include_version = true
cpp_compat = true
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
############################ Code Style Options ################################
braces = "SameLine"
line_length = 80
tab_width = 4
documentation = true
documentation_style = "auto"
documentation_length = "full"
line_endings = "LF"
############################# Codegen Options ##################################
style = "both"
usize_is_size_t = true
# this is needed because otherwise the order in the C bindings is different on different machines
sort_by = "Name"
include_guard = "SERVICEPOINT_BINDINGS_C"
[parse]
parse_deps = true
include = ["servicepoint", "std"]
extra_bindings = ["servicepoint", "servicepoint_binding_c"]
[parse.expand]
features = ["full"]
[export]
include = []
exclude = ["BitVec"]
[export.rename]
"SPCommand" = "Command"
"DisplayBitVec" = "BitVec"
[enum]
rename_variants = "QualifiedScreamingSnakeCase"
[ptr]
non_null_attribute = "/*notnull*/"