tsv_css 0.8.0

CSS formatter and parser compatible with Svelte's parseCss — part of tsv
Documentation
# 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.94"
name = "tsv_css"
version = "0.8.0"
authors = ["fuz.dev"]
build = false
exclude = ["CLAUDE.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CSS formatter and parser compatible with Svelte's parseCss — part of tsv"
readme = "README.md"
keywords = [
    "css",
    "formatter",
    "parser",
    "prettier",
    "svelte",
]
categories = [
    "development-tools",
    "parser-implementations",
    "web-programming",
]
license = "0BSD"
repository = "https://github.com/fuzdev/tsv"
resolver = "2"

[package.metadata.docs.rs]
features = ["locations"]
targets = ["x86_64-unknown-linux-gnu"]

[features]
_internal_comment_check = ["tsv_lang/_internal_comment_check"]
_internal_debug_lex = []
default = ["json"]
json = ["tsv_lang/_json"]
locations = [
    "json",
    "tsv_lang/_locations",
]

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

[dependencies.bumpalo]
version = "3.20.3"
features = ["collections"]

[dependencies.tsv_lang]
version = "=0.8.0"

[lints.clippy]
bool_to_int_with_if = "allow"
branches_sharing_code = "allow"
byte_char_slices = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
clone_on_ref_ptr = "warn"
cognitive_complexity = "allow"
comparison_chain = "allow"
dbg_macro = "warn"
doc_link_with_quotes = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
equatable_if_let = "allow"
expect_used = "warn"
explicit_iter_loop = "allow"
fn_params_excessive_bools = "allow"
future_not_send = "allow"
if_not_else = "allow"
implicit_hasher = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
panic = "warn"
redundant_pub_crate = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_field_names = "allow"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
unnecessary_debug_formatting = "allow"
unnecessary_literal_bound = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreachable = "warn"
unreadable_literal = "allow"
unused_self = "allow"
unwrap_used = "warn"
use_self = "allow"
useless_let_if_seq = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "allow"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"
unused_qualifications = "warn"

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"
private_intra_doc_links = "allow"
redundant_explicit_links = "deny"