forked from connect-boiz/soroban-security-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (70 loc) · 1.83 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (70 loc) · 1.83 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
[package]
name = "soroban-security-scanner"
version = "1.0.0"
edition = "2021"
authors = ["connect-boiz"]
description = "Security scanner for Soroban smart contracts"
license = "MIT"
repository = "https://github.com/gbengaeben/soroban-security-scanner"
[dependencies]
# Core dependencies
tokio = { version = "1.0", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.0", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
async-trait = "0.1"
# Authentication & Security
jsonwebtoken = "9.1"
argon2 = "0.5"
ring = "0.17"
base64 = "0.21"
sha2 = "0.10"
hex = "0.4"
rand = "0.8"
# HTTP & Web
axum = "0.7"
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace", "compression-br", "timeout", "limit"] }
hyper = "1.0"
mime = "0.3"
# OAuth
oauth2 = "4.4"
url = "2.5"
# Email provider dependencies
lettre = "0.11"
# SMS provider dependencies (Twilio)
reqwest = { version = "0.11", features = ["json"] }
# Template engine
handlebars = "6.0"
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Transaction processing dependencies
zstd = "0.13"
regex = "1.10"
# Configuration
config = "0.13"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Database (for production use)
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid"], optional = true }
# Redis (for caching and rate limiting)
redis = { version = "0.23", features = ["tokio-comp"], optional = true }
# Rate limiting dependencies
ipnetwork = "0.20"
[dev-dependencies]
tokio-test = "0.4"
mockall = "0.11"
[features]
default = []
database = ["sqlx"]
redis-cache = ["redis"]
full = ["database", "redis-cache"]
[[bin]]
name = "soroban-scanner"
path = "src/main.rs"
[lib]
name = "soroban_security_scanner"
path = "src/lib.rs"