[package]
edition = "2024"
name = "foch"
version = "0.1.0"
build = false
exclude = ["vscode-foch/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "foch"
description = "Paradox mod static analysis toolkit with CLI and EU4-focused language tooling"
homepage = "https://github.com/Acture/foch"
readme = "README.md"
keywords = [
"paradox",
"eu4",
"modding",
"lsp",
"static-analysis",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "AGPL-3.0-only"
repository = "https://github.com/Acture/foch"
[lib]
name = "foch"
path = "src/lib.rs"
[[bin]]
name = "foch"
path = "src/main.rs"
[[bin]]
name = "foch_lsp"
path = "src/bin/foch_lsp.rs"
[[bin]]
name = "parse_stats"
path = "src/bin/parse_stats.rs"
[[bin]]
name = "symbol_dump"
path = "src/bin/symbol_dump.rs"
[[test]]
name = "check_engine"
path = "tests/check_engine.rs"
[[test]]
name = "cli_integration"
path = "tests/cli_integration.rs"
[[test]]
name = "semantic_corpus"
path = "tests/semantic_corpus.rs"
[dependencies.clap]
version = "4.5.51"
features = ["derive"]
[dependencies.clap-verbosity-flag]
version = "3.0.4"
features = ["tracing"]
default-features = false
[dependencies.console]
version = "0.16.1"
[dependencies.dirs]
version = "6.0.0"
[dependencies.home]
version = "0.5.12"
[dependencies.jomini]
version = "0.29.0"
[dependencies.regex]
version = "1.12.2"
[dependencies.serde]
version = "1.0.219"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0.145"
[dependencies.tokio]
version = "1.48.0"
features = [
"io-std",
"macros",
"rt-multi-thread",
"sync",
]
[dependencies.toml]
version = "0.9.8"
[dependencies.tower-lsp]
version = "0.20.0"
[dependencies.tracing]
version = "0.1.41"
[dependencies.tracing-subscriber]
version = "0.3.20"
features = [
"env-filter",
"fmt",
]
[dependencies.walkdir]
version = "2.5.0"
[dev-dependencies.tempfile]
version = "3.15.0"
[target."cfg(windows)".dependencies.winreg]
version = "0.55.0"