This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
cbindgen.toml
69 lines (52 loc) · 1.59 KB
/
cbindgen.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# This is a template cbindgen.toml file with all of the default values.
# Some values are commented out because their absence is the real default.
#
# See https://github.com/eqrion/cbindgen/blob/master/docs.md#cbindgentoml
# for detailed documentation of every option here.
language = "C"
cpp_compat = true
############## Options for Wrapping the Contents of the Header #################
# header = "/* Text to put at the beginning of the generated file. Probably a license. */"
# trailer = "/* Text to put at the end of the generated file */"
include_guard = "citadel_h"
autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */"
include_version = true
no_includes = false
############################ Code Style Options ################################
braces = "SameLine"
line_length = 80
tab_width = 8
documentation_style = "auto"
############################# Codegen Options ##################################
style = "both"
[export]
include = []
exclude = []
item_types = []
renaming_overrides_prefixing = false
[fn]
rename_args = "None"
args = "auto"
[struct]
rename_fields = "None"
[enum]
rename_variants = "QualifiedScreamingSnakeCase"
prefix_with_name = false
derive_helper_methods = true
derive_const_casts = true
derive_mut_casts = true
enum_class = true
[const]
allow_static_const = true
allow_constexpr = false
sort_by = "None"
[macro_expansion]
bitflags = false
############## Options for How Your Rust library Should Be Parsed ##############
[parse]
parse_deps = false
[parse.expand]
crates = []
all_features = false
default_features = true
features = []