cad-editor/crates/iced_wgpu/Cargo.toml
2026-07-25 18:49:18 +03:00

146 lines
2.7 KiB
TOML

# 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_wgpu"
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 for iced on top of wgpu"
homepage = "https://iced.rs"
readme = "README.md"
keywords = [
"gui",
"ui",
"graphics",
"interface",
"widgets",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/iced-rs/iced"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
all-features = true
[features]
default = ["wgpu/default"]
geometry = [
"iced_graphics/geometry",
"lyon",
]
image = ["iced_graphics/image"]
strict-assertions = []
svg = [
"iced_graphics/svg",
"resvg/text",
]
web-colors = ["iced_graphics/web-colors"]
webgl = ["wgpu/webgl"]
[lib]
name = "iced_wgpu"
path = "src/lib.rs"
[dependencies.bitflags]
version = "2.0"
[dependencies.bytemuck]
version = "1.0"
features = ["derive"]
[dependencies.cryoglyph]
version = "0.1"
[dependencies.futures]
version = "0.3"
features = [
"std",
"async-await",
]
default-features = false
[dependencies.glam]
version = "0.25"
[dependencies.guillotiere]
version = "0.6"
[dependencies.iced_debug]
version = "0.14.0"
[dependencies.iced_graphics]
version = "0.14.0"
[dependencies.log]
version = "0.4"
[dependencies.lyon]
version = "1.0"
optional = true
[dependencies.resvg]
version = "0.45"
optional = true
[dependencies.rustc-hash]
version = "2.0"
[dependencies.thiserror]
version = "2"
[dependencies.wgpu]
version = "27.0"
features = [
"std",
"wgsl",
]
default-features = false
[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"