myth_core 0.2.0

Core utilities and foundational types for the Myth engine.
Documentation
# 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.92"
name = "myth_core"
version = "0.2.0"
authors = ["Pan Xinmiao <pan_xinmiao@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core utilities and foundational types for the Myth engine."
homepage = "https://github.com/panxinmiao/myth"
readme = false
keywords = [
    "3d",
    "gamedev",
    "wgpu",
    "webgpu",
    "graphics",
]
categories = [
    "game-development",
    "graphics",
    "rendering::engine",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/panxinmiao/myth"
resolver = "2"

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

[dependencies.glam]
version = "0.32.1"
features = [
    "bytemuck",
    "scalar-math",
]

[dependencies.lasso]
version = "0.7"

[dependencies.log]
version = "0.4"

[dependencies.slotmap]
version = "1.1.1"
features = ["serde"]

[dependencies.thiserror]
version = "2.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.lasso]
version = "0.7"
features = ["multi-threaded"]

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1"

[lints.clippy]
cast_possible_truncation = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
ref_as_ptr = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"

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

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

[lints.rust]