Cargo Features

GodotFfi has no features set by default.

[dependencies]
godot-ffi = { version = "0.2.0", features = ["codegen-rustfmt", "codegen-lazy-fptrs", "experimental-godot-api", "experimental-threads", "experimental-wasm-nothreads", "debug-log", "api-custom", "api-4-1", "api-4-1-1", "api-4-1-2", "api-4-1-3", "api-4-1-4", "api-4-2", "api-4-2-1", "api-4-2-2", "api-4-3"] }
codegen-rustfmt build

Enables codegen-rustfmt of godot-codegen

codegen-lazy-fptrs build

Enables codegen-lazy-fptrs of godot-codegen

Affects extras::lazy_keys

experimental-godot-api build

Enables experimental-godot-api of godot-codegen

experimental-threads build

Enables experimental-threads of godot-codegen

experimental-wasm-nothreads build

Enables experimental-wasm-nothreads of godot-bindings

debug-log
api-custom build

Enables api-custom of godot-bindings

api-4-1 build

[version-sync] [[
[line] api-$kebabVersion = ["godot-bindings/api-$kebabVersion"]

Enables api-4-1 of godot-bindings

api-4-1-1 build

Enables api-4-1-1 of godot-bindings

api-4-1-2 build

Enables api-4-1-2 of godot-bindings

api-4-1-3 build

Enables api-4-1-3 of godot-bindings

api-4-1-4 build

Enables api-4-1-4 of godot-bindings

api-4-2 build

Enables api-4-2 of godot-bindings

api-4-2-1 build

Enables api-4-2-1 of godot-bindings

api-4-2-2 build

Enables api-4-2-2 of godot-bindings

api-4-3 build

Enables api-4-3 of godot-bindings

Features from optional dependencies

]]

TODO: get rid of paste and gensym, they are trivially implementable with proc-macros. Update cargo-deny. Especially gensym which pulls in entire syn for 10 LoC. See https://github.com/regiontog/gensym/blob/master/src/lib.rs. Might however require godot-ffi to depend on godot-macro, which is not ideal...