# 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 = "julia-set"
version = "0.1.0"
authors = ["Alex Ostrovski <ostrovski.alex@gmail.com>"]
description = "Julia set computation and rendering"
readme = "README.md"
keywords = ["julia", "fractal", "graphics", "opencl", "vulkan"]
categories = ["mathematics", "multimedia::images", "rendering"]
license = "Apache-2.0"
repository = "https://github.com/slowli/julia-set-rs"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.dev.package.julia-set]
opt-level = 2

[[example]]
name = "cli"
path = "examples/cli.rs"
required-features = ["dyn_cpu_backend"]

[[test]]
name = "references"
path = "tests/references.rs"
required-features = ["cpu_backend"]

[[bench]]
name = "basics"
path = "benches/basics.rs"
harness = false
required-features = ["dyn_cpu_backend"]
[dependencies.anyhow]
version = "1.0.28"

[dependencies.arithmetic-parser]
version = "0.2.0"
features = ["num-complex"]
optional = true

[dependencies.image]
version = "0.23.12"
features = ["png", "jpeg"]
default-features = false

[dependencies.lazy_static]
version = "1.4.0"
optional = true

[dependencies.num-complex]
version = "0.3.1"

[dependencies.ocl]
version = "0.19.3"
optional = true

[dependencies.rayon]
version = "1.5.0"
optional = true

[dependencies.shaderc]
version = "0.7.0"
optional = true

[dependencies.thiserror]
version = "1.0.14"

[dependencies.vulkano]
version = "0.20.0"
optional = true
[dev-dependencies.criterion]
version = "0.3.3"

[dev-dependencies.structopt]
version = "0.3.21"

[dev-dependencies.version-sync]
version = "0.9.1"

[features]
cpu_backend = ["rayon"]
dyn_cpu_backend = ["cpu_backend", "arithmetic-parser"]
opencl_backend = ["arithmetic-parser", "ocl", "lazy_static"]
vulkan_backend = ["arithmetic-parser", "shaderc", "vulkano"]
