# 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 = "plushie-iced-program"
version = "0.8.1"
authors = [
    "Héctor Ramón Jiménez <hector@hecrj.dev>",
    "Daniel Hedlund <daniel@digitree.org>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Vendored fork of iced_program for Plushie UI -- The definition of an iced program"
homepage = "https://github.com/plushie-ui/plushie-iced"
readme = false
keywords = [
    "gui",
    "ui",
    "graphics",
    "interface",
    "accessibility",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/plushie-ui/plushie-iced"

[features]
a11y = ["iced_runtime/a11y"]
debug = []
time-travel = []

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

[dependencies.iced_graphics]
version = "0.8.1"
package = "plushie-iced-graphics"

[dependencies.iced_runtime]
version = "0.8.1"
package = "plushie-iced-runtime"

[lints.clippy]
default_trait_access = "deny"
filter_map_next = "deny"
from_over_into = "deny"
large-enum-variant = "allow"
manual_let_else = "deny"
map-entry = "allow"
match-wildcard-for-single-variants = "deny"
needless_borrow = "deny"
new_without_default = "deny"
redundant-closure-for-method-calls = "deny"
result_large_err = "allow"
semicolon_if_nothing_returned = "deny"
trivially-copy-pass-by-ref = "deny"
type-complexity = "allow"
unused_async = "deny"
useless_conversion = "deny"

[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
unused_results = "deny"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rustdoc]
broken_intra_doc_links = "forbid"
