[package]
edition = "2021"
rust-version = "1.74"
name = "cargo-split-modules"
version = "0.1.0"
authors = ["Pawel Jankiewicz <p.jankiewicz@gmail.com>"]
build = false
exclude = [
"/tests/fixtures/**/target",
"/.github",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Split large Rust source files into one-item-per-file modules, preserving comments and the public API (verified by the compiler)."
homepage = "https://github.com/zenide/rust-split-modules"
documentation = "https://docs.rs/cargo-split-modules"
readme = "README.md"
keywords = [
"cargo",
"refactor",
"module",
"split",
"codegen",
]
categories = [
"development-tools",
"development-tools::cargo-plugins",
"command-line-utilities",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/zenide/rust-split-modules"
[lib]
name = "split_modules"
path = "src/lib.rs"
[[bin]]
name = "cargo-split-modules"
path = "src/main.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.proc-macro2]
version = "1"
features = ["span-locations"]
[dependencies.quote]
version = "1"
[dependencies.syn]
version = "2"
features = [
"full",
"extra-traits",
"parsing",
"printing",
"visit",
]
[dependencies.walkdir]
version = "2"
[dev-dependencies.tempfile]
version = "3"