slate-text 1.0.1

Native text shaping and rasterization for the slate-framework UI framework
# 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"
rust-version = "1.95"
name = "slate-text"
version = "1.0.1"
authors = ["Phuc Huynh <huynhhoangphuc@proton.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native text shaping and rasterization for the slate-framework UI framework"
readme = "README.md"
keywords = [
    "text",
    "font",
    "shaping",
    "glyph",
    "gui",
]
categories = [
    "gui",
    "graphics",
    "rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/HuynhHoangPhuc/slate-framework"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.log]
version = "0.4"

[dependencies.memmap2]
version = "0.9"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rustc-hash]
version = "2"

[dependencies.slate-renderer]
version = "1.0.1"

[dependencies.thiserror]
version = "2"

[dependencies.ttf-parser]
version = "0.25"

[dependencies.unicode-bidi]
version = "0.3"

[dependencies.unicode-linebreak]
version = "0.1"

[dependencies.unicode-segmentation]
version = "1"

[dependencies.wgpu]
version = "29.0.3"

[dev-dependencies.bytemuck]
version = "1.25"
features = ["derive"]

[dev-dependencies.image]
version = "0.25"

[dev-dependencies.image-compare]
version = "0.5"

[dev-dependencies.pollster]
version = "0.4"

[dev-dependencies.wgpu]
version = "29.0.3"

[target.'cfg(target_os = "macos")'.dependencies.dirs]
version = "6"

[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-text]
version = "0.3.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
    "NSArray",
    "NSAttributedString",
    "NSDictionary",
    "NSGeometry",
    "NSNotification",
    "NSObject",
    "NSString",
]

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Direct3D",
    "Win32_Graphics_Direct3D12",
    "Win32_Graphics_DirectComposition",
    "Win32_Graphics_Dxgi",
    "Win32_Graphics_Dxgi_Common",
    "Win32_Graphics_Gdi",
    "Win32_System_DataExchange",
    "Win32_System_LibraryLoader",
    "Win32_System_Memory",
    "Win32_System_Ole",
    "Win32_System_SystemServices",
    "Win32_System_Threading",
    "Win32_UI_Controls",
    "Win32_UI_HiDpi",
    "Win32_UI_Input_Ime",
    "Win32_UI_Input_KeyboardAndMouse",
    "Win32_UI_WindowsAndMessaging",
    "Win32_Graphics_DirectWrite",
]

[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.62"