[package]
edition = "2021"
name = "splice"
version = "2.4.0"
build = false
exclude = [
".planning/",
"CLAUDE.md",
"AGENTS.md",
"QUICKSTART.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Span-safe refactoring kernel for 7 languages with Magellan code graph integration"
documentation = "https://github.com/oldnordic/splice/blob/main/README.md"
readme = "README.md"
keywords = [
"refactoring",
"cli",
"code-analysis",
"ast",
"tree-sitter",
]
categories = [
"command-line-utilities",
"development-tools",
"development-tools::build-utils",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/oldnordic/splice"
[lib]
name = "splice"
path = "src/lib.rs"
[[bin]]
name = "splice"
path = "src/main.rs"
[[example]]
name = "test_db"
path = "examples/test_db.rs"
[[test]]
name = "checksum_integration_tests"
path = "tests/checksum_integration_tests.rs"
[[test]]
name = "cli_dry_run"
path = "tests/cli_dry_run.rs"
[[test]]
name = "cli_output_tests"
path = "tests/cli_output_tests.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "compiler_error_tests"
path = "tests/compiler_error_tests.rs"
[[test]]
name = "context_expansion_integration_tests"
path = "tests/context_expansion_integration_tests.rs"
[[test]]
name = "context_flags_tests"
path = "tests/context_flags_tests.rs"
[[test]]
name = "cpp_import_tests"
path = "tests/cpp_import_tests.rs"
[[test]]
name = "cpp_patch_tests"
path = "tests/cpp_patch_tests.rs"
[[test]]
name = "cpp_symbol_tests"
path = "tests/cpp_symbol_tests.rs"
[[test]]
name = "cross_file_rename_tests"
path = "tests/cross_file_rename_tests.rs"
[[test]]
name = "cross_file_tests"
path = "tests/cross_file_tests.rs"
[[test]]
name = "cross_language_rich_span_tests"
path = "tests/cross_language_rich_span_tests.rs"
[[test]]
name = "cross_language_tests"
path = "tests/cross_language_tests.rs"
[[test]]
name = "e2e_refactor_tests"
path = "tests/e2e_refactor_tests.rs"
[[test]]
name = "enhanced_symbol_tests"
path = "tests/enhanced_symbol_tests.rs"
[[test]]
name = "error_integration_tests"
path = "tests/error_integration_tests.rs"
[[test]]
name = "expansion_tests"
path = "tests/expansion_tests.rs"
[[test]]
name = "format_compatibility_tests"
path = "tests/format_compatibility_tests.rs"
[[test]]
name = "graph_algorithm_performance_tests"
path = "tests/graph_algorithm_performance_tests.rs"
[[test]]
name = "id_format_tests"
path = "tests/id_format_tests.rs"
[[test]]
name = "import_extraction_tests"
path = "tests/import_extraction_tests.rs"
[[test]]
name = "ingest_tests"
path = "tests/ingest_tests.rs"
[[test]]
name = "integration_refactor"
path = "tests/integration_refactor.rs"
[[test]]
name = "java_import_tests"
path = "tests/java_import_tests.rs"
[[test]]
name = "java_patch_tests"
path = "tests/java_patch_tests.rs"
[[test]]
name = "java_symbol_tests"
path = "tests/java_symbol_tests.rs"
[[test]]
name = "javascript_patch_tests"
path = "tests/javascript_patch_tests.rs"
[[test]]
name = "language_detection_tests"
path = "tests/language_detection_tests.rs"
[[test]]
name = "llm_consumption_tests"
path = "tests/llm_consumption_tests.rs"
[[test]]
name = "magellan_alignment_tests"
path = "tests/magellan_alignment_tests.rs"
[[test]]
name = "magellan_integration_tests"
path = "tests/magellan_integration_tests.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "module_path_tests"
path = "tests/module_path_tests.rs"
[[test]]
name = "patch_tests"
path = "tests/patch_tests.rs"
[[test]]
name = "performance_context_tests"
path = "tests/performance_context_tests.rs"
[[test]]
name = "performance_relationship_tests"
path = "tests/performance_relationship_tests.rs"
[[test]]
name = "post_verification_integration"
path = "tests/post_verification_integration.rs"
[[test]]
name = "pre_verification_integration"
path = "tests/pre_verification_integration.rs"
[[test]]
name = "proof_validation_tests"
path = "tests/proof_validation_tests.rs"
[[test]]
name = "python_import_tests"
path = "tests/python_import_tests.rs"
[[test]]
name = "python_patch_tests"
path = "tests/python_patch_tests.rs"
[[test]]
name = "python_symbol_tests"
path = "tests/python_symbol_tests.rs"
[[test]]
name = "relationship_performance"
path = "tests/relationship_performance.rs"
[[test]]
name = "rename_tests"
path = "tests/rename_tests.rs"
[[test]]
name = "resolve_tests"
path = "tests/resolve_tests.rs"
[[test]]
name = "rich_span_tests"
path = "tests/rich_span_tests.rs"
[[test]]
name = "suggestions_tests"
path = "tests/suggestions_tests.rs"
[[test]]
name = "typescript_import_tests"
path = "tests/typescript_import_tests.rs"
[[test]]
name = "typescript_patch_tests"
path = "tests/typescript_patch_tests.rs"
[[test]]
name = "typescript_symbol_tests"
path = "tests/typescript_symbol_tests.rs"
[[test]]
name = "validation_gates_tests"
path = "tests/validation_gates_tests.rs"
[[test]]
name = "validation_tests"
path = "tests/validation_tests.rs"
[[bench]]
name = "graph_benchmarks"
path = "benches/graph_benchmarks.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.blake3]
version = "1.5"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"clock",
]
default-features = false
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.csv]
version = "1.3"
[dependencies.env_logger]
version = "0.11"
[dependencies.glob]
version = "0.3"
[dependencies.is-terminal]
version = "0.4"
[dependencies.log]
version = "0.4"
[dependencies.magellan]
version = "2.0.0"
features = ["native-v2"]
[dependencies.nu-ansi-term]
version = "0.50"
[dependencies.regex]
version = "1.10"
[dependencies.ropey]
version = "1.6"
[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.similar]
version = "2.6"
[dependencies.sqlitegraph]
version = "1.3.0"
features = ["sqlite-backend"]
default-features = false
[dependencies.strsim]
version = "0.11"
[dependencies.tempfile]
version = "3.10"
[dependencies.thiserror]
version = "1.0"
[dependencies.tree-sitter]
version = "0.22"
[dependencies.tree-sitter-c]
version = "0.21"
[dependencies.tree-sitter-cpp]
version = "0.21"
[dependencies.tree-sitter-java]
version = "0.21"
[dependencies.tree-sitter-javascript]
version = "0.21"
[dependencies.tree-sitter-python]
version = "0.21"
[dependencies.tree-sitter-rust]
version = "0.21"
[dependencies.tree-sitter-typescript]
version = "0.21"
[dependencies.uuid]
version = "1.10"
features = ["v4"]
[dependencies.which]
version = "6"
[dev-dependencies.criterion]
version = "0.5"