# 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 = "2021" rust-version = "1.75" name = "fontique" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Font enumeration and fallback." readme = "README.md" keywords = [ "font", "text", ] categories = [ "gui", "os", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/linebender/parley" [package.metadata.docs.rs] all-features = true [lib] name = "fontique" path = "src/lib.rs" [dependencies.core_maths] version = "0.1.0" optional = true [dependencies.hashbrown] version = "0.14.5" [dependencies.icu_locid] version = "1.5.0" [dependencies.icu_properties] version = "1.5.1" optional = true [dependencies.memmap2] version = "0.9.5" optional = true [dependencies.peniko] version = "0.2.0" default-features = false [dependencies.skrifa] version = "0.22.3" default-features = false [dependencies.smallvec] version = "1.13.2" [dependencies.unicode-script] version = "0.5.7" optional = true [features] default = ["system"] icu_properties = ["dep:icu_properties"] libm = [ "skrifa/libm", "peniko/libm", "dep:core_maths", ] std = [ "skrifa/std", "peniko/std", "dep:memmap2", ] system = ["std"] unicode_script = ["dep:unicode-script"] [target.'cfg(not(any(target_vendor="apple", target_family="windows")))'.dependencies.fontconfig-cache-parser] version = "0.2.0" [target.'cfg(not(any(target_vendor="apple", target_family="windows")))'.dependencies.roxmltree] version = "0.19.0" [target.'cfg(target_family="windows")'.dependencies.windows] version = "0.58.0" features = [ "implement", "Win32_Graphics_DirectWrite", ] [target.'cfg(target_family="windows")'.dependencies.windows-core] version = "0.58" [target.'cfg(target_vendor="apple")'.dependencies.core-foundation] version = "0.9.4" [target.'cfg(target_vendor="apple")'.dependencies.core-text] version = "20.1.0" [target.'cfg(target_vendor="apple")'.dependencies.objc2] version = "0.5.2" [target.'cfg(target_vendor="apple")'.dependencies.objc2-foundation] version = "0.2.2" features = [ "NSArray", "NSEnumerator", "NSPathUtilities", "NSString", ] [lints.clippy] doc_markdown = "warn" semicolon_if_nothing_returned = "warn" trivially_copy_pass_by_ref = "warn" [lints.rust] unused_qualifications = "warn"