mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-29 18:23:36 +00:00
36 lines
591 B
TOML
36 lines
591 B
TOML
header = "#define WGPU_LOCAL"
|
|
include_version = true
|
|
braces = "SameLine"
|
|
line_length = 100
|
|
tab_width = 2
|
|
language = "C"
|
|
|
|
[export]
|
|
prefix = "WGPU"
|
|
#TODO: figure out why cbindgen even tries to export a private type...
|
|
exclude = ["BufferMapResult"]
|
|
|
|
[parse]
|
|
parse_deps = false
|
|
|
|
[parse.expand]
|
|
crates = ["wgpu-native"]
|
|
features = ["local"]
|
|
|
|
[fn]
|
|
|
|
[struct]
|
|
derive_eq = true
|
|
|
|
[enum]
|
|
prefix_with_name = true
|
|
derive_helper_methods = true
|
|
|
|
[macro_expansion]
|
|
bitflags = true
|
|
|
|
[defines]
|
|
"feature = window-winit" = "WGPU_WINDOW_WINIT"
|
|
"feature = local" = "WGPU_LOCAL"
|
|
"feature = remote" = "WGPU_REMOTE"
|