[parse] parse_deps = false expand = ["circom-compat-ffi"] # Configuration for name mangling [export.mangle] # Whether the types should be renamed during mangling, for example # c_char -> CChar, etc. rename_types = "CamelCase" # Whether the underscores from the mangled name should be omitted. remove_underscores = true [struct] # A rule to use to rename struct field names. The renaming assumes the input is # the Rust standard snake_case, however it acccepts all the different rename_args # inputs. This means many options here are no-ops or redundant. # # possible values (that actually do something): # * "CamelCase": my_arg => myArg # * "PascalCase": my_arg => MyArg # * "GeckoCase": my_arg => mMyArg # * "ScreamingSnakeCase": my_arg => MY_ARG # * "None": apply no renaming # # technically possible values (that shouldn't have a purpose here): # * "SnakeCase": apply no renaming # * "LowerCase": apply no renaming (actually applies to_lowercase, is this bug?) # * "UpperCase": same as ScreamingSnakeCase in this context # * "QualifiedScreamingSnakeCase" => same as ScreamingSnakeCase in this context # # default: "None" rename_fields = "CamelCase"