-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
105 lines (87 loc) · 2.46 KB
/
Cargo.toml
File metadata and controls
105 lines (87 loc) · 2.46 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[package]
name = "rustwall"
version = "0.1.1"
edition = "2024"
authors = ["austin@songer.me"]
description = "Advanced Rust-based firewall and security system with DDoS protection, CAPTCHA verification, and specialized Tor network security features"
documentation = "https://docs.rs/rustwall"
homepage = "https://github.com/Elevated-Standards/RustWall"
repository = "https://github.com/Elevated-Standards/RustWall"
license = "MIT"
readme = "README.md"
keywords = ["security", "ddos", "captcha", "privacy", "anonymity"]
categories = ["network-programming", "web-programming", "cryptography", "authentication"]
exclude = [
"/.github/",
"/docs/",
"/examples/",
"/.gitignore",
"/TODO.md"
]
[lib]
name = "rustwall"
path = "src/lib.rs"
[[bin]]
name = "rustwall-captcha"
path = "src/captcha/main.rs"
[dependencies]
# Web Framework
axum = { version = "0.7", features = ["macros"] }
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5", features = ["fs", "cors", "trace"] }
# Async Runtime
tokio = { version = "1.0", features = ["full"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Utilities
uuid = { version = "1.0", features = ["v4", "serde"] }
rand = "0.8"
chrono = { version = "0.4", features = ["serde"] }
dashmap = "5.5"
# Image Processing & SVG
svg = "0.17"
image = { version = "0.24", optional = true }
# Templating
tera = "1.19"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
log = "0.4"
env_logger = "0.10"
# Configuration
config = { version = "0.14", optional = true }
toml = { version = "0.8", optional = true }
# Cryptography (for future security features)
sha2 = { version = "0.10", optional = true }
aes = { version = "0.8", optional = true }
# Network utilities (for future Tor integration)
reqwest = { version = "0.11", optional = true, features = ["json"] }
[dev-dependencies]
tokio-test = "0.4"
tempfile = "3.8"
[features]
default = ["captcha"]
# Core features
captcha = []
ddos-basic = []
ddos-advanced = ["image"]
# Security modules (planned)
tor-security = ["sha2", "aes"]
anonymity = ["sha2"]
content-security = ["image"]
network-advanced = ["reqwest", "sha2"]
operational = ["config", "toml"]
# Feature bundles
full = [
"captcha",
"ddos-advanced",
"tor-security",
"anonymity",
"content-security",
"network-advanced",
"operational"
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]