myth_app 0.2.0

Application framework and windowing integration 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_app"
version = "0.2.0"
authors = ["Pan Xinmiao <pan_xinmiao@163.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Application framework and windowing integration 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"

[features]
default = []
winit = ["dep:winit"]

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

[dependencies.env_logger]
version = "0.11.10"

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

[dependencies.log]
version = "0.4"

[dependencies.myth_animation]
version = "0.2.0"

[dependencies.myth_assets]
version = "0.2.0"

[dependencies.myth_core]
version = "0.2.0"

[dependencies.myth_render]
version = "0.2.0"

[dependencies.myth_resources]
version = "0.2.0"

[dependencies.myth_scene]
version = "0.2.0"

[dependencies.pollster]
version = "0.4"

[dependencies.raw-window-handle]
version = "0.6"

[dependencies.winit]
version = "0.30.13"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.console_error_panic_hook]
version = "0.1.7"

[target.'cfg(target_arch = "wasm32")'.dependencies.console_log]
version = "1.0"

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.4.2"
features = ["wasm_js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.117"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.67"

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.94"
features = [
    "Document",
    "Window",
    "Element",
    "DomTokenList",
    "HtmlCanvasElement",
    "HtmlInputElement",
    "Location",
    "Request",
    "RequestInit",
    "RequestMode",
    "Response",
    "Headers",
    "File",
    "FileList",
    "FileReader",
    "Blob",
    "ProgressEvent",
    "console",
    "UrlSearchParams",
]

[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]