forked from delta-io/delta-kernel-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcbindgen.toml
More file actions
30 lines (22 loc) · 839 Bytes
/
cbindgen.toml
File metadata and controls
30 lines (22 loc) · 839 Bytes
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
# this file gets loaded by build.rs as the set of default options for cbindgen
# default to generating c bindings
language = "C"
pragma_once = true
# only applies to Cxx
namespace = "ffi"
cpp_compat = true
[defines]
"feature = default-engine" = "DEFINE_DEFAULT_ENGINE"
"feature = default-engine-rustls" = "DEFINE_DEFAULT_ENGINE_RUSTLS"
"feature = default-engine-base" = "DEFINE_DEFAULT_ENGINE_BASE"
[export.mangle]
remove_underscores = true
[parse]
# Whether to parse dependent crates and include their types in the output
# default: false
parse_deps = true
# An allow-list of crate names that are allowed to be parsed. If this is defined,
# only crates found in this list will ever be parsed.
#
# default: there is no allow-list (NOTE: this is the opposite of [])
include = ["arrow", "arrow-data", "arrow-schema", "delta_kernel"]