-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
91 lines (72 loc) · 1.56 KB
/
Copy pathCargo.toml
File metadata and controls
91 lines (72 loc) · 1.56 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[package]
name = "baco"
version = "1.1.0"
edition = "2021"
description = "CLI Vulnerability Scanner"
authors = ["MTE90"]
repository = "https://github.com/mte90/baco"
license = "MIT"
keywords = ["security", "vulnerability", "scanner", "cli", "sast"]
categories = ["command-line-utilities", "development-tools"]
[dependencies]
# Async trait support
async-trait = "0.1"
# CLI
clap = { version = "4", features = ["derive"] }
# Colored output
colored = "3.1"
# Progress
indicatif = "0.17"
# Async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
toml = "0.8"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# HTML escaping
html-escape = "0.2"
pulldown-cmark = "0.9"
# HTTP clients
reqwest = { version = "0.12", features = ["json"] }
urlencoding = "2"
# File system
walkdir = "2"
# Git
git2 = "0.19"
# Time
chrono = { version = "0.4", features = ["serde"] }
# Hashing
sha2 = "0.10"
hex = "0.4"
which = "6"
thiserror = "1.0"
tempfile = "3"
regex = "1"
# Tree-sitter for AST parsing
tree-sitter = "0.26"
tree-sitter-c = "0.23"
tree-sitter-rust = "0.23"
tree-sitter-python = "0.23"
tree-sitter-javascript = "0.23"
[dev-dependencies]
mockall = "0.13"
serial_test = "3"
futures = "0.3"
mockito = "1.2"
visibility = "0.1"
[[test]]
name = "unit_tests"
path = "tests/unit/mod.rs"
[[test]]
name = "integration_tests"
path = "tests/integration/mod.rs"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = "abort"