masonry 0.4.0

Traits and types of the Masonry toolkit.
Documentation
[dependencies.accesskit]
version = "0.21.1"

[dependencies.dpi]
version = "0.1.2"

[dependencies.masonry_core]
version = "0.4.0"

[dependencies.masonry_testing]
optional = true
version = "0.4.0"

[dependencies.parley]
features = ["accesskit"]
version = "0.6.0"

[dependencies.tracing]
default-features = false
features = ["default"]
version = "0.1.41"

[dependencies.ui-events]
default-features = false
features = ["kurbo"]
version = "0.2.0"

[dependencies.vello]
version = "0.6.0"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.float-cmp]
default-features = false
features = ["std"]
version = "0.10.0"

[dev-dependencies.image]
default-features = false
features = ["png"]
version = "0.25.8"

[dev-dependencies.insta]
version = "1.43.2"

[dev-dependencies.masonry_testing]
version = "0.4.0"

[dev-dependencies.masonry_winit]
version = "0.4.0"

[dev-dependencies.profiling]
features = ["profile-with-tracing"]
version = "1.0.17"

[[example]]
doc-scrape-examples = true
name = "calc_masonry"
path = "examples/calc_masonry.rs"

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

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

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

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

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

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

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

[features]
default = []
testing = ["dep:masonry_testing"]
tracy = ["masonry_core/tracy"]

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

[lints.clippy]
allow_attributes_without_reason = "warn"
cargo_common_metadata = "warn"
cast_possible_truncation = "warn"
collection_is_never_read = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
default_trait_access = "warn"
doc_markdown = "warn"
fn_to_numeric_cast_any = "warn"
infinite_loop = "warn"
large_stack_arrays = "warn"
mismatching_type_param_order = "warn"
missing_assert_message = "warn"
missing_fields_in_debug = "warn"
negative_feature_names = "warn"
redundant_feature_names = "warn"
same_functions_in_if_condition = "warn"
semicolon_if_nothing_returned = "warn"
should_panic_without_expect = "warn"
todo = "warn"
too_many_arguments = "allow"
unseparated_literal_suffix = "warn"
use_self = "warn"
wildcard_dependencies = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
keyword_idents_2024 = "forbid"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "forbid"
non_local_definitions = "forbid"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "forbid"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["gui", "internationalization", "accessibility"]
description = "Traits and types of the Masonry toolkit."
edition = "2024"
exclude = ["screenshots", "examples/assets"]
keywords = ["gui", "ui", "toolkit"]
license = "Apache-2.0"
name = "masonry"
readme = "README.md"
repository = "https://github.com/linebender/xilem"
resolver = "2"
rust-version = "1.88"
version = "0.4.0"

[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = []

[[test]]
name = "examples"
path = "tests/examples.rs"