Files
mail/crates/parley/Cargo.toml
T

173 lines
3.7 KiB
TOML

# 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.88"
name = "parley"
version = "0.11.1"
build = false
exclude = ["/tests"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parley provides an API for implementing rich text layout."
readme = "README.md"
keywords = [
"text",
"layout",
]
categories = [
"gui",
"graphics",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/linebender/parley"
[package.metadata.docs.rs]
all-features = true
[features]
accesskit = ["dep:accesskit"]
complex-scripts = []
default = ["system"]
libm = [
"fontique/libm",
"harfrust/libm",
"peniko/libm",
"skrifa/libm",
"dep:core_maths",
]
std = [
"fontique/std",
"harfrust/std",
"peniko/std",
"skrifa/std",
"parlance/std",
]
system = [
"std",
"fontique/system",
]
[lib]
name = "parley"
path = "src/lib.rs"
[dependencies.accesskit]
version = "0.24.0"
optional = true
[dependencies.core_maths]
version = "0.1.1"
optional = true
[dependencies.fontique]
version = "0.11.1"
default-features = false
[dependencies.harfrust]
version = "0.12.0"
default-features = false
[dependencies.hashbrown]
version = "0.17.0"
features = [
"default-hasher",
"raw-entry",
]
default-features = false
[dependencies.icu_normalizer]
version = "2.1.1"
features = ["compiled_data"]
default-features = false
[dependencies.icu_properties]
version = "2.1.2"
features = ["compiled_data"]
default-features = false
[dependencies.icu_segmenter]
version = "2.1.2"
features = ["compiled_data"]
default-features = false
[dependencies.linebender_resource_handle]
version = "0.1.1"
default-features = false
[dependencies.parlance]
version = "0.1.0"
default-features = false
[dependencies.parley_data]
version = "0.11.1"
features = ["baked"]
default-features = false
[dependencies.parley_emoji]
path = "../parley_emoji"
default-features = false
[dependencies.skrifa]
version = "0.44.0"
default-features = false
[dev-dependencies.peniko]
version = "0.6.0"
default-features = false
[lints.clippy]
allow_attributes_without_reason = "warn"
cargo_common_metadata = "warn"
cast_possible_truncation = "warn"
collection_is_never_read = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
default_trait_access = "warn"
doc_markdown = "warn"
fn_to_numeric_cast_any = "warn"
infinite_loop = "warn"
large_stack_arrays = "warn"
mismatching_type_param_order = "warn"
missing_assert_message = "warn"
missing_fields_in_debug = "warn"
negative_feature_names = "warn"
redundant_feature_names = "warn"
same_functions_in_if_condition = "warn"
semicolon_if_nothing_returned = "warn"
should_panic_without_expect = "warn"
todo = "warn"
too_many_arguments = "allow"
unseparated_literal_suffix = "warn"
use_self = "warn"
wildcard_dependencies = "warn"
[lints.rust]
elided_lifetimes_in_paths = "warn"
keyword_idents_2024 = "forbid"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "forbid"
non_local_definitions = "forbid"
trivial_numeric_casts = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "forbid"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"