# 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 = "iced_runtime"
version = "0.14.0"
authors = ["Héctor Ramón Jiménez <hector@hecrj.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A renderer-agnostic runtime for iced"
homepage = "https://iced.rs"
readme = "README.md"
keywords = [
    "gui",
    "ui",
    "graphics",
    "interface",
    "widgets",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/iced-rs/iced"

[features]
selector = ["dep:iced_selector"]

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

[dependencies.bytes]
version = "1.6"

[dependencies.iced_core]
version = "0.14.0"

[dependencies.iced_futures]
version = "0.14.0"

[dependencies.iced_selector]
version = "0.14.0"
optional = true

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

[dependencies.sipper]
version = "0.1"
optional = true

[dependencies.thiserror]
version = "2"

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