[package]
edition = "2024"
rust-version = "1.93"
name = "codetwin"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A code to diagram/documentation generator."
documentation = "https://docs.rs/codetwin"
readme = "README.md"
keywords = [
"architecture",
"cli",
"docs",
"documentation",
"generator",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/carlosferreyra/codetwin"
[lib]
name = "codetwin"
path = "src/lib.rs"
[[bin]]
name = "ct"
path = "src/main.rs"
[[test]]
name = "test_discovery"
path = "tests/test_discovery.rs"
[[test]]
name = "test_layouts"
path = "tests/test_layouts.rs"
[[test]]
name = "test_markdown_generation"
path = "tests/test_markdown_generation.rs"
[[test]]
name = "test_phase1_5"
path = "tests/test_phase1_5.rs"
[[test]]
name = "test_phase2_5"
path = "tests/test_phase2_5.rs"
[[test]]
name = "test_phase2_layouts"
path = "tests/test_phase2_layouts.rs"
[[test]]
name = "test_phase3"
path = "tests/test_phase3.rs"
[[test]]
name = "test_rust_parser"
path = "tests/test_rust_parser.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.glob]
version = "0.3"
[dependencies.ignore]
version = "0.4"
[dependencies.notify-debouncer-mini]
version = "0.4"
[dependencies.petgraph]
version = "0.6"
[dependencies.rayon]
version = "1.7"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.tree-sitter]
version = "0.20"
[dependencies.tree-sitter-python]
version = "0.20"
[dependencies.tree-sitter-rust]
version = "0.20"
[dependencies.walkdir]
version = "2.4"
[profile.dev]
opt-level = 0
debug = 2
[profile.dev.package."*"]
opt-level = 3
[profile.dist]
inherits = "release"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true