# 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 = "systemless"
version = "0.1.92"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "systemless"
description = "High-Level Emulation for classic Macintosh applications"
documentation = "https://docs.rs/systemless"
readme = "README.md"
keywords = [
    "macintosh",
    "emulator",
    "68k",
    "hle",
    "quickdraw",
]
categories = [
    "emulators",
    "rendering",
    "game-development",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/benletchford/systemless"

[features]
default = ["gui"]
gui = [
    "winit",
    "softbuffer",
    "cpal",
]

[lib]
name = "systemless"
path = "src/lib.rs"

[[bin]]
name = "systemless"
path = "src/bin/systemless.rs"
required-features = ["gui"]

[[bin]]
name = "systemless-pack-web"
path = "src/bin/systemless-pack-web.rs"

[dependencies.cpal]
version = "0.15"
optional = true

[dependencies.hfs-reader]
version = "0.1.1"

[dependencies.image]
version = "0.25"
features = ["png"]
default-features = false

[dependencies.libm]
version = "0.2"

[dependencies.m68k]
version = "0.1.13"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.softbuffer]
version = "0.4"
optional = true

[dependencies.stuffit]
version = "0.1.5"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.winit]
version = "0.30"
optional = true

[dev-dependencies.tempfile]
version = "3"

[profile.release]
lto = "fat"
codegen-units = 1
