mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com> Co-authored-by: Brent Westbrook <brentrwestbrook@gmail.com>
37 lines
1023 B
TOML
37 lines
1023 B
TOML
[package]
|
|
name = "ruff_unicode_names2"
|
|
version = "0.0.17"
|
|
description = "This is an internal component crate of Ruff"
|
|
authors = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
license = "(MIT OR Apache-2.0) AND Unicode-DFS-2016"
|
|
|
|
[dependencies]
|
|
phf = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
ruff_unicode_names2_generator = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"] }
|
|
|
|
[lints.rust]
|
|
# Ruff uses std; retain upstream's optional no_std code without enabling it.
|
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("no_std"))'] }
|
|
|
|
[lints.clippy]
|
|
# Preserve the vendored source.
|
|
unnecessary_map_or = "allow"
|
|
question_mark = "allow"
|
|
|
|
[lib]
|
|
name = "unicode_names2"
|
|
# Upstream unit tests, benchmarks, and macro doctests require nightly Rust.
|
|
test = false
|
|
doctest = false
|
|
bench = false
|