bevy_window_manager 0.18.1

Bevy plugin for primary window restoration and multi-monitor support
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"
name = "bevy_window_manager"
version = "0.18.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bevy plugin for primary window restoration and multi-monitor support"
readme = "README.md"
keywords = [
    "bevy",
    "gamedev",
    "monitor",
    "multi-monitor",
    "window",
]
categories = [
    "game-development",
    "gui",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/natepiano/bevy_window_manager"

[features]
default = [
    "workaround-winit-4441",
    "workaround-winit-4440",
    "workaround-winit-3124",
    "workaround-winit-4341",
    "workaround-winit-4443",
    "workaround-winit-4445",
]
workaround-winit-3124 = []
workaround-winit-4341 = []
workaround-winit-4440 = []
workaround-winit-4441 = ["workaround-winit-4440"]
workaround-winit-4443 = []
workaround-winit-4445 = []

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

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

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

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

[dependencies.bevy]
version = "0.18.0"

[dependencies.dirs]
version = "6.0"

[dependencies.ron]
version = "0.12"

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

[dev-dependencies.bevy_brp_extras]
version = "0.18.0"

[target.'cfg(target_os = "linux")'.dependencies.raw-window-handle]
version = "0.6"

[target.'cfg(target_os = "linux")'.dependencies.x11rb]
version = "0.13"
features = ["dl-libxcb"]
default-features = false

[target."cfg(windows)".dependencies.raw-window-handle]
version = "0.6"

[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Gdi",
    "Win32_UI_Shell",
    "Win32_UI_WindowsAndMessaging",
]

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_sign_loss = "allow"
expect_used = "deny"
multiple_crate_versions = "allow"
needless_pass_by_value = "allow"
panic = "deny"
unwrap_used = "deny"

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

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

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

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

[profile.dev.package."*"]
opt-level = 3