[package]
edition = "2024"
rust-version = "1.95"
name = "rust-split"
version = "0.2.2"
build = false
exclude = [
".github/**",
"AGENTS.md",
"dev-docs/**",
"dist-workspace.toml",
"scripts/**",
"skills/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A parser-based god-file splitter for Rust source."
readme = "README.md"
keywords = [
"rust",
"refactor",
"split",
"modules",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "GPL-2.0-only"
repository = "https://github.com/owebeeone/rust-split"
[package.metadata.dist]
dist = true
[lib]
name = "rust_split"
path = "src/lib.rs"
[[bin]]
name = "rust-split"
path = "src/main.rs"
[[test]]
name = "explode"
path = "tests/explode.rs"
[[test]]
name = "responsibility_dependencies"
path = "tests/responsibility_dependencies.rs"
[[test]]
name = "responsibility_grouping"
path = "tests/responsibility_grouping.rs"
[[test]]
name = "split"
path = "tests/split.rs"
[[test]]
name = "split_hygiene"
path = "tests/split_hygiene.rs"
[[test]]
name = "split_preservation"
path = "tests/split_preservation.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]
[dependencies.quote]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.syn]
version = "2"
features = [
"full",
"parsing",
"visit",
]
[dependencies.toml]
version = "0.9"
[dev-dependencies.tempfile]
version = "3"
[profile.dist]
lto = "thin"
inherits = "release"