mirror of https://github.com/linebender/xilem
68 lines
2.1 KiB
TOML
68 lines
2.1 KiB
TOML
[package]
|
|
name = "masonry_core"
|
|
version = "0.2.0"
|
|
description = "Traits and types of the Masonry toolkit."
|
|
|
|
keywords = ["gui", "ui", "toolkit"]
|
|
categories = ["gui", "internationalization", "accessibility"]
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
exclude = ["/doc/", ".gitignore"]
|
|
rust-version.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
# There are no platform specific docs.
|
|
default-target = "x86_64-unknown-linux-gnu"
|
|
targets = []
|
|
# rustdoc-scrape-examples tracking issue https://github.com/rust-lang/rust/issues/88791
|
|
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
|
|
|
|
[features]
|
|
default = []
|
|
# Enables tracing using tracy if the default Masonry tracing is used.
|
|
# https://github.com/wolfpld/tracy can be connected to when this feature is enabled.
|
|
tracy = ["dep:tracing-tracy", "tracing-tracy/enable", "vello/wgpu-profiler"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
vello.workspace = true
|
|
wgpu.workspace = true
|
|
parley.workspace = true
|
|
tree_arena.workspace = true
|
|
smallvec.workspace = true
|
|
tracing = { workspace = true, features = ["default"] }
|
|
image.workspace = true
|
|
serde = { version = "1.0.204", features = ["derive"] }
|
|
serde_json = "1.0.120"
|
|
futures-intrusive = "0.5.0"
|
|
pollster = "0.4.0"
|
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "time"] }
|
|
tracing-tracy = { version = "0.11.3", optional = true }
|
|
accesskit.workspace = true
|
|
time = { workspace = true, features = ["macros", "formatting"] }
|
|
cursor-icon = "1.1.0"
|
|
dpi.workspace = true
|
|
anymap3 = "1.0.1"
|
|
keyboard-types = "0.7.0"
|
|
oxipng = { version = "9.1.4", default-features = false }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
web-time.workspace = true
|
|
|
|
[dev-dependencies]
|
|
float-cmp = { version = "0.10.0", features = ["std"], default-features = false }
|
|
image = { workspace = true, features = ["png"] }
|
|
insta = { version = "1.39.0" }
|
|
assert_matches = "1.5.0"
|
|
|
|
# Make wgpu use tracing for its spans.
|
|
profiling = { version = "1.0.15", features = ["profile-with-tracing"] }
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
tracing_android_trace = "0.1.0"
|