Cargo Features

[dependencies]
playdate = { version = "0.2.0", default-features = false, features = ["lang-items", "allocator", "panic-handler", "eh-personality", "entry-point", "error-ctx", "bindgen-runtime", "bindgen-static", "bindings-derive-default", "bindings-derive-eq", "bindings-derive-copy", "bindings-derive-debug", "bindings-derive-hash", "bindings-derive-ord", "bindings-derive-partialeq", "bindings-derive-partialord", "bindings-derive-constparamty", "bindings-documentation"] }
default = entry-point

These default features are set whenever playdate is added without default-features = false somewhere in the dependency tree.

Enables playdate-system, playdate-controls, playdate-display, playdate-fs, playdate-graphics, playdate-menu, playdate-scoreboards, playdate-sound, and playdate-sprite and lang-items of playdate-sys

playdate-sys:

lang-items

lang-items

Enables lang-items of playdate-sys

allocator

Enables allocator of playdate-sys

playdate-sys:

global allocator

panic-handler

Enables panic-handler of playdate-sys

playdate-sys:

global panic handler

eh-personality

Enables eh-personality of playdate-sys

playdate-sys:

eh_personality for sim-targets, dummy empty no-op

entry-point default

Enables entry-point of playdate-sys

playdate-sys:

simple minimal proxy entry point

error-ctx

Enables error-ctx of playdate-sys

playdate-sys:

errors with context (incomplete feature)

bindgen-runtime

playdate-sys features, bindings build configuration:

Enables bindgen-runtime of playdate-controls, playdate-display, playdate-fs, playdate-graphics, playdate-menu, playdate-scoreboards, playdate-sound, playdate-sprite, playdate-sys, and playdate-system

bindgen-static

Enables bindgen-static of playdate-controls, playdate-display, playdate-fs, playdate-graphics, playdate-menu, playdate-scoreboards, playdate-sound, playdate-sprite, playdate-sys, and playdate-system

playdate-sys:

static linking to clang

bindings-derive-default

Enables bindings-derive-default of playdate-sys

playdate-sys:

ask bindgen to derive Default

bindings-derive-eq

Enables bindings-derive-eq of playdate-sys

playdate-sys:

ask bindgen to derive Eq

bindings-derive-copy

Enables bindings-derive-copy of playdate-sys

playdate-sys:

ask bindgen to derive Copy

bindings-derive-debug

Enables bindings-derive-debug of playdate-controls, playdate-display, playdate-fs, playdate-graphics, playdate-menu, playdate-scoreboards, playdate-sound, playdate-sprite, playdate-sys, and playdate-system

playdate-sys:

ask bindgen to derive Debug

bindings-derive-hash

Enables bindings-derive-hash of playdate-sys

playdate-sys:

ask bindgen to derive Hash

bindings-derive-ord

Enables bindings-derive-ord of playdate-sys

playdate-sys:

ask bindgen to derive Ord

bindings-derive-partialeq

Enables bindings-derive-partialeq of playdate-sys

playdate-sys:

ask bindgen to derive PartialEq

bindings-derive-partialord

Enables bindings-derive-partialord of playdate-sys

playdate-sys:

ask bindgen to derive PartialOrd

bindings-derive-constparamty

Enables bindings-derive-constparamty of playdate-sys

playdate-sys:

derive ConstParamTy

bindings-documentation

Enables bindings-documentation of playdate-sys

playdate-sys:

parse docs from the SDK, gen doc-comments
generate docs for bindings