# 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 = "layer-shika-adapters"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Adapters layer for layer-shika (internal implementation crate)"
readme = "README.md"
keywords = [
    "layer-shell",
    "wayland",
    "slint",
    "femtovg",
    "smithay",
]
categories = ["gui"]
license = "AGPL-3.0-or-later"
repository = "https://codeberg.org/waydeer/layer-shika"
resolver = "2"

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

[dependencies.glutin]
version = "0.32.3"
features = ["wayland"]
default-features = false

[dependencies.layer-shika-domain]
version = "0.3.0"

[dependencies.log]
version = "0.4.28"

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

[dependencies.slint]
version = "1.14.1"
features = [
    "compat-1-2",
    "renderer-femtovg",
    "backend-winit-wayland",
]
default-features = false

[dependencies.slint-interpreter]
version = "1.14.1"
features = ["compat-1-2"]
default-features = false

[dependencies.smithay-client-toolkit]
version = "0.20.0"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.wayland-client]
version = "0.31.11"

[dependencies.wayland-protocols]
version = "0.32.9"
features = [
    "client",
    "staging",
]

[dependencies.xkbcommon]
version = "0.9.0"
features = ["wayland"]

[lints.clippy]
absolute_paths = "deny"
await_holding_lock = "deny"
clone_on_ref_ptr = "deny"
cognitive_complexity = "deny"
disallowed_methods = "deny"
disallowed_types = "deny"
exit = "deny"
expect_used = "deny"
future_not_send = "deny"
indexing_slicing = "deny"
large_enum_variant = "deny"
let_underscore_must_use = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_collect = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
pub_use = "deny"
redundant_clone = "deny"
uninlined_format_args = "allow"
unwrap_used = "deny"
vec_box = "deny"

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

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

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