# 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 = "2024"
name = "device"
version = "0.0.3"
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
build = false
include = [
    "/src",
    "/templates",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A generative engine"
homepage = "https://github.com/casey/device"
readme = "README.md"
license = "CC0-1.0"
repository = "https://github.com/casey/device"

[[bin]]
name = "device"
path = "src/main.rs"

[dependencies.boilerplate]
version = "1.0.1"

[dependencies.camino]
version = "1.2.1"
features = ["serde1"]

[dependencies.clap]
version = "4.5.21"
features = ["derive"]

[dependencies.env_logger]
version = "0.11.0"

[dependencies.hound]
version = "3.5.1"

[dependencies.indicatif]
version = "0.18.3"

[dependencies.log]
version = "0.4.22"

[dependencies.midir]
version = "0.10.1"

[dependencies.midly]
version = "0.5.3"

[dependencies.nalgebra]
version = "0.34.1"

[dependencies.parley]
version = "0.6.0"

[dependencies.png]
version = "0.18.0"

[dependencies.pollster]
version = "0.4.0"

[dependencies.rand]
version = "0.9.2"

[dependencies.regex]
version = "1.11.1"

[dependencies.rodio]
version = "0.21.1"
features = [
    "playback",
    "symphonia-all",
]
default-features = false

[dependencies.rustfft]
version = "6.2.0"

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

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.snafu]
version = "0.8.5"

[dependencies.strum]
version = "0.27.1"
features = ["derive"]

[dependencies.symphonia]
version = "0.5.5"
features = [
    "all-codecs",
    "all-formats",
]

[dependencies.tabled]
version = "0.20.0"

[dependencies.tempfile]
version = "3.17.1"

[dependencies.vello]
version = "0.6.0"

[dependencies.walkdir]
version = "2.5.0"

[dependencies.wgpu]
version = "26.0.1"

[dependencies.winit]
version = "0.30.5"

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

[lints.clippy]
arbitrary-source-item-ordering = "deny"
cast-lossless = "allow"
cast-precision-loss = "allow"
float-cmp = "allow"
format-push-string = "allow"
ignore-without-reason = "allow"
many-single-char-names = "allow"
needless-pass-by-value = "allow"
similar-names = "allow"
struct-excessive-bools = "allow"
struct_field_names = "allow"
too-many-arguments = "allow"
too-many-lines = "allow"
unnecessary_wraps = "allow"
wildcard-imports = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
mismatched-lifetime-syntaxes = "allow"
