ra_ap_syntax 0.0.317

Concrete syntax tree definitions for rust-analyzer.
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.91"
name = "ra_ap_syntax"
version = "0.0.317"
authors = ["rust-analyzer team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Concrete syntax tree definitions for rust-analyzer."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust-analyzer"
resolver = "2"

[features]
default = []
in-rust-tree = []

[lib]
name = "ra_ap_syntax"
path = "src/lib.rs"
doctest = false

[dependencies.either]
version = "1.15.0"

[dependencies.itertools]
version = "0.14.0"

[dependencies.parser]
version = "=0.0.317"
package = "ra_ap_parser"

[dependencies.rowan]
version = "=0.15.17"

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.rustc-literal-escaper]
version = "0.0.4"

[dependencies.smol_str]
version = "0.3.2"

[dependencies.stdx]
version = "=0.0.317"
package = "ra_ap_stdx"

[dependencies.tracing]
version = "0.1.41"
features = ["std"]
default-features = false

[dependencies.triomphe]
version = "0.1.14"
features = ["std"]
default-features = false

[lints.clippy]
assigning_clones = "allow"
dbg_macro = "warn"
enum_variant_names = "allow"
len_without_is_empty = "allow"
literal_string_with_formatting_args = "allow"
new_ret_no_self = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
result_unit_err = "allow"
single_match = "allow"
str_to_string = "warn"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
unnecessary_map_or = "allow"
useless_asref = "allow"
vec_init_then_push = "allow"
wrong_self_convention = "allow"

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

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.perf]
level = "deny"
priority = -1

[lints.clippy.restriction]
level = "allow"
priority = -1

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

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

[lints.rust]
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_lifetimes = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(bootstrap)",
    "cfg(no_salsa_async_drops)",
]