ra_ap_proc_macro_api 0.0.320

RPC Api for the `proc-macro-srv` crate of 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_proc_macro_api"
version = "0.0.320"
authors = ["rust-analyzer team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RPC Api for the `proc-macro-srv` crate of 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 = []
sysroot-abi = [
    "proc-macro-srv",
    "proc-macro-srv/sysroot-abi",
]

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

[dependencies.indexmap]
version = "2.9.0"
features = ["serde"]

[dependencies.intern]
version = "=0.0.320"
package = "ra_ap_intern"

[dependencies.paths]
version = "=0.0.320"
features = ["serde1"]
package = "ra_ap_paths"

[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]

[dependencies.proc-macro-srv]
version = "=0.0.320"
optional = true
package = "ra_ap_proc_macro_srv"

[dependencies.rayon]
version = "1.10.0"

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

[dependencies.semver]
version = "1.0.26"

[dependencies.serde]
version = "1.0.219"

[dependencies.serde_derive]
version = "1.0.219"

[dependencies.serde_json]
version = "1.0.140"
features = ["unbounded_depth"]

[dependencies.span]
version = "=0.0.320"
default-features = false
package = "ra_ap_span"

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

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

[dependencies.tt]
version = "=0.0.320"
package = "ra_ap_tt"

[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)",
]