forked from Crockan/MercuryToolbox
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
[package]
|
|
name = "codeindex"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
readme.workspace = true
|
|
publish.workspace = true
|
|
description = "Shared tree-sitter-based code indexing for Mercury Toolbox."
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = ["all-languages"]
|
|
all-languages = [
|
|
"lang-rust",
|
|
"lang-csharp",
|
|
"lang-powershell",
|
|
"lang-python",
|
|
"lang-go",
|
|
"lang-java",
|
|
"lang-javascript",
|
|
"lang-typescript",
|
|
]
|
|
lang-rust = ["dep:tree-sitter-rust"]
|
|
lang-csharp = ["dep:tree-sitter-c-sharp"]
|
|
lang-powershell = ["dep:tree-sitter-powershell"]
|
|
lang-python = ["dep:tree-sitter-python"]
|
|
lang-go = ["dep:tree-sitter-go"]
|
|
lang-java = ["dep:tree-sitter-java"]
|
|
lang-javascript = ["dep:tree-sitter-javascript"]
|
|
lang-typescript = ["dep:tree-sitter-typescript"]
|
|
|
|
[dependencies]
|
|
common = { path = "../common", default-features = false }
|
|
serde.workspace = true
|
|
tree-sitter.workspace = true
|
|
tree-sitter-c-sharp = { workspace = true, optional = true }
|
|
tree-sitter-go = { workspace = true, optional = true }
|
|
tree-sitter-javascript = { workspace = true, optional = true }
|
|
tree-sitter-java = { workspace = true, optional = true }
|
|
tree-sitter-powershell = { workspace = true, optional = true }
|
|
tree-sitter-python = { workspace = true, optional = true }
|
|
tree-sitter-rust = { workspace = true, optional = true }
|
|
tree-sitter-typescript = { workspace = true, optional = true }
|