# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "playdate-sys" version = "0.4.7" authors = ["Alex Koz "] build = "src/build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Low-level Playdate API bindings" homepage = "https://github.com/boozook/playdate" readme = "README.md" keywords = [ "playdate", "bindings", "ffi", "gamedev", ] categories = [ "external-ffi-bindings", "development-tools::ffi", "game-development", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/boozook/playdate.git" [package.metadata.docs.rs] all-features = false cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", "-Zbuild-std=core,alloc", ] default-target = "thumbv7em-none-eabihf" features = [ "lang-items", "entry-point", "try-trait-v2", "error-ctx", "bindings-derive-default", "bindings-derive-eq", "bindings-derive-copy", "bindings-derive-debug", "bindings-derive-hash", "bindings-derive-ord", "bindings-derive-partialeq", "bindings-derive-partialord", ] rustdoc-args = [ "--cfg", "docsrs", "--show-type-layout", ] [package.metadata.playdate] bundle-id = "rs.playdate.sys" [lib] name = "playdate_sys" path = "src/lib.rs" [[example]] name = "handler" crate-type = [ "dylib", "staticlib", ] path = "examples/handler.rs" required-features = [ "lang-items", "entry-point", ] [[example]] name = "hello-world" crate-type = [ "dylib", "staticlib", ] path = "examples/hello-world.rs" required-features = ["lang-items"] [dependencies.arrayvec] version = "0.7" optional = true default-features = false [build-dependencies.bindgen] version = "0.1" optional = true default-features = false package = "playdate-bindgen" [build-dependencies.bindgen-cfg] version = "0.1" default-features = false package = "playdate-bindgen-cfg" [features] allocator = [] bindgen-logging = ["bindgen/logging"] bindgen-pretty-please = ["bindgen/pretty-please"] bindgen-runtime = [ "bindgen", "bindgen/runtime", ] bindgen-static = [ "bindgen", "bindgen/static", ] bindgen-which-rustfmt = ["bindgen/which-rustfmt"] bindings-derive-constparamty = [] bindings-derive-copy = [] bindings-derive-debug = [] bindings-derive-default = [] bindings-derive-eq = [] bindings-derive-hash = [] bindings-derive-ord = [] bindings-derive-partialeq = [] bindings-derive-partialord = [] bindings-documentation = ["bindgen/documentation"] default = [ "bindgen-runtime", "bindings-derive-debug", ] eh-personality = [] entry-point = [] error-ctx = [] lang-items = [ "allocator", "panic-handler", "eh-personality", ] panic-handler = ["arrayvec"] try-trait-v2 = []