# 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 = "boytacean" version = "0.10.14" authors = ["João Magalhães "] build = "build.rs" exclude = [ "/frontends", "/res/roms", "/res/screens", "/res/videos", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A Game Boy emulator that is written in Rust." readme = "README.md" keywords = [ "gameboy", "emulator", "rust", ] license = "Apache-2.0" repository = "https://github.com/joamag/boytacean" [package.metadata.docs.rs] features = [ "wasm", "gen-mock", ] [profile.bench] opt-level = 3 lto = true codegen-units = 1 debug = 0 [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = 0 [profile.release-safe] opt-level = 3 lto = true debug = 0 inherits = "release" [lib] name = "boytacean" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[example]] name = "simple" path = "examples/simple.rs" [[bench]] name = "color" path = "benches/color.rs" harness = false [[bench]] name = "encoding" path = "benches/encoding.rs" harness = false [[bench]] name = "hashing" path = "benches/hashing.rs" harness = false [dependencies.boytacean-common] version = "0.10.14" [dependencies.boytacean-encoding] version = "0.10.14" [dependencies.boytacean-hashing] version = "0.10.14" [dependencies.js-sys] version = "0.3" optional = true [dependencies.pyo3] version = "0.20" optional = true [dependencies.wasm-bindgen] version = "0.2" optional = true [dev-dependencies.criterion] version = "0.5" [build-dependencies.built] version = "0.7" features = ["cargo-lock"] [build-dependencies.chrono] version = "0.4" [build-dependencies.regex] version = "1" [features] cpulog = [] debug = [] default = [] gen-mock = [] pedantic = [] python = [ "pyo3", "boytacean-common/python", ] simd = [ "boytacean-encoding/simd", "boytacean-hashing/simd", ] wasm = [ "wasm-bindgen", "js-sys", "boytacean-common/wasm", ]