[package]
edition = "2024"
name = "cranpose-render-common"
version = "0.1.124"
authors = ["Dmitry Samoylenko"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common rendering contracts for Cranpose"
homepage = "https://samoylenkodmitry.github.io/cranpose/"
readme = "README.md"
keywords = [
"gui",
"ui",
"compose",
"declarative",
"framework",
]
categories = ["gui"]
license = "Apache-2.0"
repository = "https://github.com/samoylenkodmitry/cranpose"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["embedded-default-font"]
embedded-default-font = []
text-hyphenation = ["dep:hyphenation"]
text-hyphenation-embedded = [
"text-hyphenation",
"hyphenation/embed_all",
]
[lib]
name = "cranpose_render_common"
path = "src/lib.rs"
[[test]]
name = "app_supplied_font_raster"
path = "tests/app_supplied_font_raster.rs"
[[test]]
name = "draw_scope_text_raster"
path = "tests/draw_scope_text_raster.rs"
[[test]]
name = "gpos_kerning_measure"
path = "tests/gpos_kerning_measure.rs"
[[test]]
name = "layer_and_raster_rules"
path = "tests/layer_and_raster_rules.rs"
[[test]]
name = "lazy_trim_scene"
path = "tests/lazy_trim_scene.rs"
[[test]]
name = "scaling_list_scene"
path = "tests/scaling_list_scene.rs"
[[test]]
name = "wear_faded_row_composite"
path = "tests/wear_faded_row_composite.rs"
[[test]]
name = "weight_synthesis_fakery"
path = "tests/weight_synthesis_fakery.rs"
[dependencies.ab_glyph]
version = "0.2.32"
[dependencies.cranpose-core]
version = "0.1.124"
[dependencies.cranpose-foundation]
version = "0.1.124"
[dependencies.cranpose-ui]
version = "0.1.124"
[dependencies.cranpose-ui-graphics]
version = "0.1.124"
[dependencies.hyphenation]
version = "0.8.4"
optional = true
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.smallvec]
version = "1.15.1"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tiny-skia]
version = "0.11.4"
features = [
"std",
"simd",
]
default-features = false
[dependencies.ttf-parser]
version = "0.25.1"
[lints.clippy]
clone_on_copy = "deny"
dbg_macro = "deny"
redundant_locals = "deny"
todo = "deny"
[lints.rust]
linker_messages = "deny"
unsafe_code = "deny"