[package]
edition = "2024"
rust-version = "1.85"
name = "resolve-lang"
version = "0.4.0"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Name resolution over HIR: scopes, namespaces, imports, and a persistent definition and reference index."
homepage = "https://github.com/jamesgober/resolve-lang"
documentation = "https://docs.rs/resolve-lang"
readme = "README.md"
keywords = [
"resolution",
"scope",
"compiler",
"language",
"lexersketch",
]
categories = [
"compilers",
"development-tools",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/resolve-lang"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["std"]
std = [
"hir-lang/std",
"intern-lang/std",
]
[lib]
name = "resolve_lang"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "lsp"
path = "examples/lsp.rs"
[[example]]
name = "multi_unit"
path = "examples/multi_unit.rs"
[[example]]
name = "php_python"
path = "examples/php_python.rs"
[[test]]
name = "case_fold"
path = "tests/case_fold.rs"
[[test]]
name = "deep"
path = "tests/deep.rs"
[[test]]
name = "hir_0_4"
path = "tests/hir_0_4.rs"
[[test]]
name = "import_corner"
path = "tests/import_corner.rs"
[[test]]
name = "import_graph"
path = "tests/import_graph.rs"
[[test]]
name = "imports"
path = "tests/imports.rs"
[[test]]
name = "index"
path = "tests/index.rs"
[[test]]
name = "inheritance"
path = "tests/inheritance.rs"
[[test]]
name = "lexical"
path = "tests/lexical.rs"
[[test]]
name = "policy"
path = "tests/policy.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "suggest"
path = "tests/suggest.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[dependencies.hir-lang]
version = "0.4"
default-features = false
[dependencies.intern-lang]
version = "1"
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"