# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "spectrusty-utils"
version = "0.3.1"
authors = ["Rafal Michalski <royaltm75@gmail.com>"]
description = "Complementary utilities for the SPECTRUSTY library.\n"
homepage = "https://royaltm.github.io/spectrusty/"
readme = "README.md"
license = "LGPL-3.0-or-later"
repository = "https://github.com/royaltm/spectrusty"
[package.metadata.docs.rs]
all-features = true
[dependencies.log]
version = "0.4"

[dependencies.minifb]
version = "0.19"
optional = true

[dependencies.sdl2]
version = "0.34"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = true

[dependencies.spectrusty]
version = "0.3.1"
features = ["formats", "peripherals"]
default-features = false

[dependencies.web-sys]
version = "0.3"
features = ["KeyboardEvent"]
optional = true

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

[features]
compression = ["spectrusty/compression"]
default = ["snapshot", "compression"]
snapshot = ["serde", "spectrusty/snapshot"]
