[package]
name = "proc-macro-srv"
version = "0.0.0"
repository.workspace = true
description = "Proc-macro server for rust-analyzer."

authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true

[lib]
doctest = false

[dependencies]
object.workspace = true
libloading.workspace = true
memmap2.workspace = true
temp-dir.workspace = true

paths.workspace = true
# span = {workspace = true, default-features = false} does not work
span = { path = "../span", version = "0.0.0", default-features = false}
intern.workspace = true

ra-ap-rustc_lexer.workspace = true


[target.'cfg(unix)'.dependencies]
libc.workspace = true

[dev-dependencies]
expect-test.workspace = true
line-index.workspace = true

# used as proc macro test targets
proc-macro-test.path = "./proc-macro-test"

[features]
default = []
sysroot-abi = []
in-rust-tree = ["sysroot-abi"]

[lints]
workspace = true
