splitrs 0.3.2

AST-based Rust refactoring tool with trait separation, config files, and intelligent module generation
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "splitrs"
version = "0.3.2"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AST-based Rust refactoring tool with trait separation, config files, and intelligent module generation"
homepage = "https://github.com/cool-japan/splitrs"
documentation = "https://docs.rs/splitrs"
readme = "README.md"
keywords = [
    "refactoring",
    "rust",
    "ast",
    "code-splitting",
    "module-organization",
]
categories = [
    "development-tools",
    "command-line-utilities",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/splitrs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["lsp"]
lsp = [
    "dep:tower-lsp",
    "dep:tokio",
    "dep:dashmap",
]
smt = [
    "dep:oxiz",
    "dep:num-bigint",
]

[lib]
name = "splitrs"
path = "src/lib.rs"

[[bin]]
name = "splitrs"
path = "src/main.rs"

[[bin]]
name = "splitrs-lsp"
path = "src/bin/splitrs_lsp.rs"
required-features = ["lsp"]

[[example]]
name = "large_struct"
path = "examples/large_struct.rs"

[[example]]
name = "trait_impl_example"
path = "examples/trait_impl_example.rs"

[[test]]
name = "cross_module_visibility_tests"
path = "tests/cross_module_visibility_tests.rs"

[[test]]
name = "doc_comment_preservation_tests"
path = "tests/doc_comment_preservation_tests.rs"

[[test]]
name = "extract_and_target_tests"
path = "tests/extract_and_target_tests.rs"

[[test]]
name = "extract_pure_cli_tests"
path = "tests/extract_pure_cli_tests.rs"

[[test]]
name = "extraction_e2e_tests"
path = "tests/extraction_e2e_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "lsp_actions"
path = "tests/lsp_actions.rs"

[[test]]
name = "lsp_diagnostics"
path = "tests/lsp_diagnostics.rs"

[[test]]
name = "lsp_integration"
path = "tests/lsp_integration.rs"

[[test]]
name = "semantic_naming_tests"
path = "tests/semantic_naming_tests.rs"

[[test]]
name = "smt_encoder_tests"
path = "tests/smt_encoder_tests.rs"

[[test]]
name = "smt_verify_equiv_cli_tests"
path = "tests/smt_verify_equiv_cli_tests.rs"

[[test]]
name = "standalone_extraction_tests"
path = "tests/standalone_extraction_tests.rs"

[[test]]
name = "trait_impl_grouping_tests"
path = "tests/trait_impl_grouping_tests.rs"

[[bench]]
name = "file_analysis"
path = "benches/file_analysis.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.6"
features = ["derive"]

[dependencies.dashmap]
version = "6.1.0"
optional = true

[dependencies.num-bigint]
version = "0.4"
optional = true

[dependencies.oxiz]
version = "0.2.3"
optional = true

[dependencies.prettyplease]
version = "0.2"

[dependencies.quote]
version = "1.0"

[dependencies.rayon]
version = "1.12"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = [
    "full",
    "parsing",
    "printing",
    "visit",
]

[dependencies.tokio]
version = "1.52.1"
features = [
    "rt-multi-thread",
    "macros",
    "io-std",
    "io-util",
    "sync",
]
optional = true

[dependencies.toml]
version = "1.1"

[dependencies.tower-lsp]
version = "0.20.0"
optional = true

[dependencies.walkdir]
version = "2.5"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
version = "1.52.1"
features = [
    "rt-multi-thread",
    "macros",
    "io-util",
    "sync",
    "time",
]