servicepoint/servicepoint2-binding-c/cbindgen.toml

33 lines
772 B
TOML
Raw Normal View History

language = "C"
include_version = true
cpp_compat = true
############################ 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"
sort_by = "Name"
usize_is_size_t = true
[defines]
2024-05-16 21:32:33 +02:00
"feature = compression_zlib" = "SP2_FEATURE_compression_zlib"
"feature = compression_bzip2" = "SP2_FEATURE_compression_bzip2"
"feature = compression_lzma" = "SP2_FEATURE_compression_lzma"
"feature = compression_zstd" = "SP2_FEATURE_compression_zstd"
[export]
prefix = "sp2_"
[parse.expand]
features = ["c-api"]
all_features = true