# 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"
rust-version = "1.85"
name = "diene-engine-runtime"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime application builder and renderer backend selection for Diene."
homepage = "https://github.com/1-10-1/diene"
documentation = "https://docs.rs/diene-engine-runtime"
readme = "README.md"
keywords = [
    "game-engine",
    "vulkan",
    "rendering",
]
categories = [
    "game-engines",
    "graphics",
    "rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/1-10-1/diene"

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

[dependencies.common]
version = "0.1.0"
package = "diene-common"

[dependencies.engine-core]
version = "0.1.0"
package = "diene-engine-core"

[dependencies.engine-renderer-api]
version = "0.1.0"
package = "diene-engine-renderer-api"

[dependencies.engine-renderer-vulkan]
version = "0.1.0"
package = "diene-engine-renderer-vulkan"

[dependencies.thiserror]
version = "2"

[lints.clippy]
as_conversions = "warn"
await_holding_lock = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
dbg_macro = "deny"
enum_glob_use = "warn"
expect_used = "warn"
indexing_slicing = "warn"
large_enum_variant = "warn"
large_stack_arrays = "warn"
large_stack_frames = "warn"
mem_forget = "warn"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
multiple_unsafe_ops_per_block = "warn"
must_use_candidate = "allow"
needless_pass_by_ref_mut = "allow"
panic = "warn"
panic_in_result_fn = "deny"
rc_mutex = "warn"
similar_names = "allow"
todo = "deny"
too_many_lines = "allow"
unimplemented = "deny"
unnecessary_wraps = "allow"
unused_self = "allow"
unwrap_used = "deny"
wildcard_imports = "allow"

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

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

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

[lints.rust]
let_underscore_drop = "deny"
let_underscore_lock = "deny"
macro_use_extern_crate = "deny"
meta_variable_misuse = "deny"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "deny"
noop_method_call = "deny"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_must_use = "deny"
unused_unsafe = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.nonstandard_style]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
