# 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-wavesim"
version = "0.1.0"
authors = ["Michael Ivertowski <mivertowski@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interactive 2D wave propagation showcase for RingKernel"
homepage = "https://github.com/mivertowski/RustCompute"
readme = "README.md"
keywords = [
    "gpu",
    "simulation",
    "wave",
    "physics",
    "ringkernel",
]
categories = [
    "simulation",
    "graphics",
    "visualization",
]
license = "Apache-2.0"
repository = "https://github.com/mivertowski/RustCompute"

[features]
all-backends = [
    "cpu",
    "cuda",
    "wgpu",
]
cpu = ["ringkernel/cpu"]
cuda = [
    "ringkernel/cuda",
    "dep:ringkernel-cuda",
    "dep:cudarc",
    "dep:bytemuck",
]
cuda-codegen = [
    "cuda",
    "dep:ringkernel-cuda-codegen",
    "dep:syn",
    "ringkernel-derive/cuda-codegen",
]
default = [
    "cpu",
    "cuda",
    "simd",
]
simd = []
wgpu = [
    "ringkernel/wgpu",
    "dep:wgpu",
    "dep:bytemuck",
]

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

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

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

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

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

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

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

[[example]]
name = "educational_modes"
path = "examples/educational_modes.rs"

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

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

[dependencies.iced]
version = "0.13"
features = [
    "canvas",
    "tokio",
]

[dependencies.inventory]
version = "0.3"

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.10"

[dependencies.ringkernel]
version = "0.1.0"

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

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

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

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

[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"
optional = true

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