-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
91 lines (80 loc) · 2.64 KB
/
Cargo.toml
File metadata and controls
91 lines (80 loc) · 2.64 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 = "cipherscope"
version = "0.2.5"
edition = "2024"
description = "A high-performance, language-aware tool for scanning source code to detect cryptographic libraries and algorithms usage."
license = "MIT"
repository = "https://github.com/script3r/cipherscope"
readme = "README.md"
keywords = ["crypto", "static-analysis", "security", "inventory", "tree-sitter"]
categories = ["development-tools", "command-line-utilities"]
include = ["src/**", "patterns.toml", "Cargo.toml", "README.md", "LICENSE"]
[dependencies]
anyhow = "1.0"
ahash = { version = "0.8", features = ["serde"] }
clap = { version = "4.5", features = ["derive"] }
ignore = "0.4"
memmap2 = "0.9"
rayon = "1.10"
regex = { version = "1.11", default-features = false, features = ["std", "unicode-perl"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
indicatif = "0.17"
tree-sitter = "0.25"
num_cpus = "1.17"
crossbeam-channel = "0.5"
tokio = { version = "1.41", features = ["macros", "rt-multi-thread"] }
http = "1.1"
tree-sitter-c = { version = "0.24", optional = true }
tree-sitter-cpp = { version = "0.23", optional = true }
tree-sitter-java = { version = "0.23", optional = true }
tree-sitter-python = { version = "0.25", optional = true }
tree-sitter-go = { version = "0.25", optional = true }
tree-sitter-swift = { version = "0.7", optional = true }
tree-sitter-php = { version = "0.24", optional = true }
tree-sitter-objc = { version = "3.0", optional = true }
tree-sitter-rust = { version = "0.23", optional = true }
tree-sitter-javascript = { version = "0.25", optional = true }
tree-sitter-typescript = { version = "0.23", optional = true }
[features]
default = ["lang-c", "lang-cpp", "lang-java", "lang-python", "lang-go", "lang-swift", "lang-php", "lang-objc", "lang-rust", "lang-javascript", "lang-typescript"]
lang-c = ["tree-sitter-c"]
lang-cpp = ["tree-sitter-cpp"]
lang-java = ["tree-sitter-java"]
lang-python = ["tree-sitter-python"]
lang-go = ["tree-sitter-go"]
lang-swift = ["tree-sitter-swift"]
lang-php = ["tree-sitter-php"]
lang-objc = ["tree-sitter-objc"]
lang-rust = ["tree-sitter-rust"]
lang-javascript = ["tree-sitter-javascript"]
lang-typescript = ["tree-sitter-typescript"]
[dev-dependencies]
assert_cmd = "2.0"
tempfile = "3.10"
criterion = "0.5"
[[bench]]
name = "scan_bench"
harness = false
[[bench]]
name = "scan_large_bench"
harness = false
[[bench]]
name = "file_size_bench"
harness = false
[[bench]]
name = "scale_bench"
harness = false
[[bench]]
name = "thread_scaling_bench"
harness = false
[[bench]]
name = "component_bench"
harness = false
[[bench]]
name = "memory_bench"
harness = false
[[bench]]
name = "large_fixture_bench"
harness = false