[package] name = "cxx2flow" version = "0.6.2" edition = "2021" authors = ["mgt "] description = "Convert your C/C++ code to control flow chart" license = "MIT" repository = "https://github.com/Enter-tainer/cxx2flow" include = ["src/**/*", "LICENSE", "README.md", "build.rs"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [[bin]] name = "cxx2flow" path = "src/main.rs" [lib] name = "cxx2flow" path = "src/lib.rs" crate-type = ["lib"] [dependencies] thiserror = "1.0" clap = { version = "4.5.6", features = ["derive", "wrap_help"] } log = "0.4.21" tree-sitter = "0.22.6" tree-sitter-cpp = "0.22.2" petgraph = "0.6.5" itertools = "0.13.0" hash-chain = "0.3.2" once_cell = "1.19.0" miette = { version = "7.2.0", features = ["fancy"] } enum_dispatch = "0.3.13" colored = "2.1.0" [build-dependencies] anyhow = "1.0" vergen = { version = "8.3.1", features = [ "build", "cargo", "git", "git2", "rustc", ] } [profile.release] lto = "fat"