Cargo Features

[dependencies]
playdate-bindgen = { version = "0.1.10", 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 default-features = false somewhere in the dependency tree.

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

static

static linking to clang

Enables static of bindgen

logging

Enables logging of bindgen, log of playdate-build-utils

pretty-please cli? = prettyplease

Enables prettyplease of bindgen

which-rustfmt cli? = which

Enables which-rustfmt of bindgen

bindgen:

Dynamically discover a rustfmt binary using the which crate

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?
clap cli?