# 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 = "bevy_solari"
version = "0.19.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provides raytraced lighting for Bevy Engine"
homepage = "https://bevy.org"
readme = "README.md"
keywords = ["bevy"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bevyengine/bevy"

[package.metadata.docs.rs]
rustdoc-args = [
    "-Zunstable-options",
    "--generate-link-to-definition",
    "--generate-macro-expansion",
]
all-features = true

[features]
dlss = ["dep:bevy_anti_alias", "bevy_anti_alias/dlss"]
force_disable_dlss = ["dep:bevy_anti_alias", "bevy_anti_alias/force_disable_dlss"]

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

[dependencies.bevy_anti_alias]
version = "0.19.0"
optional = true

[dependencies.bevy_app]
version = "0.19.0"

[dependencies.bevy_asset]
version = "0.19.0"

[dependencies.bevy_camera]
version = "0.19.0"

[dependencies.bevy_color]
version = "0.19.0"

[dependencies.bevy_core_pipeline]
version = "0.19.0"

[dependencies.bevy_derive]
version = "0.19.0"

[dependencies.bevy_diagnostic]
version = "0.19.0"

[dependencies.bevy_ecs]
version = "0.19.0"

[dependencies.bevy_image]
version = "0.19.0"

[dependencies.bevy_math]
version = "0.19.0"

[dependencies.bevy_material]
version = "0.19.0"

[dependencies.bevy_mesh]
version = "0.19.0"

[dependencies.bevy_pbr]
version = "0.19.0"
features = ["dfg_lut"]

[dependencies.bevy_platform]
version = "0.19.0"
features = ["std"]
default-features = false

[dependencies.bevy_reflect]
version = "0.19.0"

[dependencies.bevy_render]
version = "0.19.0"

[dependencies.bevy_shader]
version = "0.19.0"

[dependencies.bevy_transform]
version = "0.19.0"

[dependencies.bevy_utils]
version = "0.19.0"

[dependencies.blacksite_surface]
path = "../../crates/blacksite_surface"

[dependencies.bytemuck]
version = "1"

[dependencies.derive_more]
version = "2"
features = ["from"]
default-features = false

[dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false

[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
doc_markdown = "warn"
manual_let_else = "warn"
match_same_arms = "warn"
needless_lifetimes = "allow"
nonstandard_macro_braces = "warn"
print_stderr = "warn"
print_stdout = "warn"
ptr_as_ptr = "warn"
ptr_cast_constness = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
ref_as_ptr = "warn"
semicolon_if_nothing_returned = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"
too_long_first_doc_paragraph = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
undocumented_unsafe_blocks = "warn"
unwrap_or_default = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
unused_qualifications = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs_dep)"]
