[package]
edition = "2021"
rust-version = "1.71"
name = "core-text"
version = "22.0.0"
authors = ["The Servo Project Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings to the Core Text framework."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/servo/core-foundation-rs"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-apple-darwin"
[features]
default = [
"mountainlion",
"link",
]
link = [
"core-foundation/link",
"core-graphics/link",
]
mountainlion = []
[lib]
name = "core_text"
path = "src/lib.rs"
[dependencies.core-foundation]
version = "0.10"
default-features = false
[dependencies.core-graphics]
version = "0.25"
default-features = false
[dependencies.foreign-types]
version = "0.5"
[lints.clippy]
assertions_on_constants = "allow"
doc_markdown = "warn"
len_without_is_empty = "allow"
manual_range_contains = "allow"
missing_safety_doc = "allow"
new_ret_no_self = "allow"
new_without_default = "allow"
non_canonical_partial_ord_impl = "allow"
not_unsafe_ptr_arg_deref = "allow"
result_unit_err = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("cargo-clippy"))']