Cargo Features
[dependencies]
playdate-bindgen = { version = "0.1.11", default-features = false, features = ["documentation", "extra-codegen", "runtime", "static", "logging", "pretty-please", "which-rustfmt", "cli", "log"] }
- default = documentation, runtime
-
These default features are set whenever
playdate-bindgen
is added without
somewhere in the dependency tree.default-features = false - documentation default cli? = extra-codegen, html2md, html5ever, markup5ever_rcdom
- extra-codegen cli? documentation = proc-macro2, quote, syn
- runtime default
-
bindgen options
runtime linking (dlopen)Enables runtime of bindgen ^0.69.4
- static
-
static linking to clang
Enables static of bindgen ^0.69.4
- logging
-
Enables logging of bindgen ^0.69.4, log of playdate-build-utils
- pretty-please cli? = prettyplease
-
Enables prettyplease of bindgen ^0.69.4
- which-rustfmt cli? = which
-
Enables which-rustfmt of bindgen ^0.69.4
bindgen:
This feature is no longer used for anything and should be removed in bindgen 0.70
- cli = clap, documentation, extra-codegen, pretty-please, which-rustfmt
-
Required by the pdbindgen binary
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- html2md documentation
-
Enables html2md
parser:
- html5ever documentation
-
Enables html5ever ^0.26.0
- markup5ever_rcdom documentation
-
Enables markup5ever_rcdom ^0.2.0
- proc-macro2 extra-codegen?
-
Enables proc-macro2
doc-gen:
- syn extra-codegen?
-
Enables syn
+full, extra-traits, visit-mut
- quote extra-codegen?
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust
- prettyplease pretty-please?
- which which-rustfmt?
-
Enables which ^6.0
- clap cli?