[package]
edition = "2021"
name = "wootype"
version = "0.2.1"
authors = ["Wootype Team"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blazing-fast Go type system service —— Vibe Coding toolchain"
homepage = "https://github.com/GWinfinity/wootype"
documentation = "https://docs.rs/wootype"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/GWinfinity/wootype"
[features]
default = [
"salsa",
"grpc",
"websocket",
"lsp",
]
grpc = []
lsp = []
salsa = []
websocket = []
[lib]
name = "wootype"
path = "src/lib.rs"
[[bin]]
name = "wootype"
path = "src/main.rs"
[[bin]]
name = "wootype-daemon"
path = "src/bin/daemon.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "grpc_client"
path = "examples/grpc_client.rs"
[[example]]
name = "modules_navigation_incremental"
path = "examples/modules_navigation_incremental.rs"
[[example]]
name = "performance_test"
path = "examples/performance_test.rs"
[[example]]
name = "websocket_client"
path = "examples/websocket_client.rs"
[[test]]
name = "core_test"
path = "tests/core_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "method_set_test"
path = "tests/method_set_test.rs"
[[test]]
name = "modules_navigation_test"
path = "tests/modules_navigation_test.rs"
[[test]]
name = "salsa_test"
path = "tests/salsa_test.rs"
[[bench]]
name = "incremental_benchmark"
path = "benches/incremental_benchmark.rs"
harness = false
[[bench]]
name = "query_benchmark"
path = "benches/query_benchmark.rs"
harness = false
[[bench]]
name = "salsa_comparison"
path = "benches/salsa_comparison.rs"
[[bench]]
name = "salsa_full_benchmark"
path = "benches/salsa_full_benchmark.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.arc-swap]
version = "1.6"
[dependencies.ariadne]
version = "0.5"
[dependencies.axum]
version = "0.7"
features = [
"ws",
"tokio",
"http1",
"json",
]
default-features = false
[dependencies.bincode]
version = "1.3"
[dependencies.bitflags]
version = "2.4"
[dependencies.clap]
version = "4.4"
features = [
"std",
"derive",
"help",
"usage",
"error-context",
]
default-features = false
[dependencies.crossbeam]
version = "0.8"
[dependencies.dashmap]
version = "5.5"
[dependencies.dirs]
version = "5.0"
[dependencies.futures-util]
version = "0.3"
[dependencies.hyper]
version = "1.0"
features = [
"server",
"http1",
"http2",
]
default-features = false
[dependencies.im]
version = "15.1"
[dependencies.indexmap]
version = "2.1"
[dependencies.interprocess]
version = "1.2"
[dependencies.lsp-types]
version = "0.95"
[dependencies.parking_lot]
version = "0.12"
[dependencies.prost]
version = "0.13"
[dependencies.rand]
version = "0.8"
[dependencies.rayon]
version = "1.8"
[dependencies.regex]
version = "1.10"
features = [
"std",
"unicode-perl",
]
default-features = false
[dependencies.ropey]
version = "1.6"
[dependencies.salsa]
version = "0.26"
[dependencies.scc]
version = "2.0"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.35"
features = [
"rt-multi-thread",
"macros",
"sync",
"time",
"io-util",
"net",
"fs",
"process",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-tungstenite]
version = "0.24"
[dependencies.tonic]
version = "0.12"
features = ["tls"]
[dependencies.tonic-reflection]
version = "0.12"
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
version = "0.6"
features = ["cors"]
default-features = false
[dependencies.tower-lsp]
version = "0.20"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.uuid]
version = "1.6"
features = [
"v4",
"serde",
"rng",
]
default-features = false
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
[dev-dependencies.tokio-test]
version = "0.4"
[build-dependencies.protoc-bin-vendored]
version = "3.1"
[build-dependencies.tonic-build]
version = "0.12"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true