# 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.77"
name = "roxlap-scene"
version = "0.24.0"
authors = ["Anton Gushcha <ncrashed@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scene-graph layer for the roxlap voxel engine: many independent chunked voxel grids, each with f64 world position and Quat rotation."
documentation = "https://docs.rs/roxlap-scene"
readme = "README.md"
keywords = [
    "voxlap",
    "voxel",
    "scene-graph",
    "chunk",
    "engine",
]
categories = [
    "game-development",
    "graphics",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/NCrashed/roxlap"

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

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

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

[[test]]
name = "snapshot_wire"
path = "tests/snapshot_wire.rs"

[dependencies.bincode]
version = "1"

[dependencies.glam]
version = "0.30"
features = [
    "std",
    "serde",
]
default-features = false

[dependencies.rayon]
version = "1.10"

[dependencies.roxlap-cavegen]
version = "0.24"

[dependencies.roxlap-core]
version = "0.24"

[dependencies.roxlap-formats]
version = "0.24"

[dependencies.serde]
version = "1"
features = ["derive"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossbeam-channel]
version = "0.5"

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
float_cmp = "allow"
items_after_statements = "allow"
manual_assert = "allow"
many_single_char_names = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
needless_for_each = "allow"
similar_names = "allow"
single_match_else = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
verbose_bit_mask = "allow"
wildcard_imports = "allow"

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

[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "warn"
