[package]
edition = "2021"
name = "forgekit-core"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Deterministic code intelligence SDK - Core library"
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/oldnordic/forge"
[features]
default = [
"sqlite",
"tools",
]
full = [
"tools",
"sqlite",
"native-v3",
]
full-sqlite = [
"tools-sqlite",
"sqlite",
]
full-v3 = [
"tools-v3",
"native-v3",
]
llmgrep = ["dep:llmgrep"]
llmgrep-sqlite = ["llmgrep"]
llmgrep-v3 = [
"llmgrep",
"native-v3",
]
magellan = ["dep:magellan"]
magellan-sqlite = ["magellan"]
magellan-v3 = ["magellan"]
mirage = ["dep:mirage-analyzer"]
mirage-sqlite = ["mirage"]
mirage-v3 = [
"mirage",
"native-v3",
]
native-v3 = [
"dep:sqlitegraph",
"sqlitegraph/native-v3",
]
splice = ["dep:splice"]
splice-sqlite = ["splice"]
splice-v3 = [
"splice",
"native-v3",
]
sqlite = [
"dep:sqlitegraph",
"sqlitegraph/sqlite-backend",
"sqlitegraph/native-v3",
]
tools = [
"magellan",
"llmgrep",
"mirage",
"splice",
"which",
]
tools-sqlite = [
"magellan-sqlite",
"llmgrep-sqlite",
"mirage-sqlite",
"splice-sqlite",
"which",
]
tools-v3 = [
"magellan-v3",
"llmgrep-v3",
"mirage-v3",
"splice-v3",
"native-v3",
"which",
]
[lib]
name = "forge_core"
path = "src/lib.rs"
[[test]]
name = "accessor_tests"
path = "tests/accessor_tests.rs"
[[test]]
name = "pubsub_integration_tests"
path = "tests/pubsub_integration_tests.rs"
[[test]]
name = "tool_integration_tests"
path = "tests/tool_integration_tests.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.blake3]
version = "1.5"
[dependencies.llmgrep]
version = "3.0.8"
optional = true
[dependencies.magellan]
version = "2.4.5"
optional = true
[dependencies.mirage-analyzer]
version = "1.0"
optional = true
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.splice]
version = "2.5"
optional = true
[dependencies.sqlitegraph]
version = "2.0.5"
features = [
"sqlite-backend",
"native-v3",
]
optional = true
default-features = false
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tracing]
version = "0.1"
[dependencies.which]
version = "6.0"
optional = true
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"test-util",
"macros",
]