# 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"
rust-version = "1.75"
name = "ringkernel-wavesim3d"
version = "0.1.2"
authors = ["Michael Ivertowski <mivertowski@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "3D acoustic wave simulation with realistic physics, binaural audio, and GPU acceleration"
homepage = "https://github.com/mivertowski/RustCompute"
readme = "README.md"
keywords = [
    "gpu",
    "simulation",
    "wave",
    "physics",
    "binaural",
]
categories = [
    "simulation",
    "graphics",
    "visualization",
    "multimedia::audio",
]
license = "Apache-2.0"
repository = "https://github.com/mivertowski/RustCompute"

[features]
audio-output = [
    "dep:cpal",
    "dep:rustfft",
]
cpu = ["ringkernel/cpu"]
cuda = [
    "ringkernel/cuda",
    "dep:ringkernel-cuda",
    "dep:cudarc",
]
cuda-codegen = [
    "cuda",
    "dep:ringkernel-cuda-codegen",
    "dep:syn",
    "ringkernel-derive/cuda-codegen",
]
default = ["cpu"]

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

[[bin]]
name = "wavesim3d"
path = "src/bin/wavesim3d.rs"

[[bin]]
name = "wavesim3d-benchmark"
path = "src/bin/benchmark.rs"
required-features = ["cuda"]

[dependencies.bytemuck]
version = "1.24"
features = ["derive"]

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

[dependencies.cudarc]
version = "0.11"
features = ["cuda-version-from-build-system"]
optional = true

[dependencies.egui]
version = "0.27"

[dependencies.egui-wgpu]
version = "0.27"

[dependencies.egui-winit]
version = "0.27"

[dependencies.glam]
version = "0.27"

[dependencies.half]
version = "2.4"

[dependencies.hound]
version = "3.5"

[dependencies.inventory]
version = "0.3"

[dependencies.pollster]
version = "0.3"

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.10"

[dependencies.ringkernel]
version = "0.1.2"

[dependencies.ringkernel-core]
version = "0.1.2"

[dependencies.ringkernel-cuda]
version = "0.1.2"
optional = true

[dependencies.ringkernel-cuda-codegen]
version = "0.1.2"
optional = true

[dependencies.ringkernel-derive]
version = "0.1.2"

[dependencies.rustfft]
version = "6.2"
optional = true

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "extra-traits",
]
optional = true

[dependencies.tokio]
version = "1.35"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.wgpu]
version = "0.19"

[dependencies.winit]
version = "0.29"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
