[package]
edition = "2024"
rust-version = "1.100"
name = "masonry_testing"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Helper tools for writing unit tests for Masonry."
readme = "README.md"
keywords = [
"gui",
"ui",
"toolkit",
]
categories = [
"gui",
"internationalization",
"accessibility",
]
license = "Apache-2.0"
repository = "https://github.com/linebender/xilem"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = []
[features]
[lib]
name = "masonry_testing"
path = "src/lib.rs"
[dependencies.accesskit_consumer]
version = "0.39.2"
[dependencies.image]
version = "0.25.10"
features = ["png"]
default-features = false
[dependencies.imaging_vello_cpu]
version = "0.0.3"
[dependencies.masonry_core]
version = "0.5.0"
default-features = false
[dependencies.oxipng]
version = "9.1.5"
default-features = false
[dependencies.tracing]
version = "0.1.44"
features = ["default"]
default-features = false
[dev-dependencies.profiling]
version = "1.0.17"
features = ["profile-with-tracing"]
[lints.cargo]
manual_readme = "warn"
non_snake_case_features = "warn"
non_snake_case_packages = "warn"
[lints.clippy]
allow_attributes_without_reason = "warn"
cargo_common_metadata = "warn"
cast_possible_truncation = "allow"
cast_possible_wrap = "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"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(compile_stress_test)"]