-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathCargo.toml
45 lines (41 loc) · 1.13 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "cxx2flow"
version = "0.6.2"
edition = "2021"
authors = ["mgt <mgt@oi-wiki.org>"]
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 = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "7ce8946cae4bb25adebe5b50394f702beb007026" }
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"