File size: 2,338 Bytes
0ca462b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[package]
name = "intent-forge-v2"
version = "0.1.0"
edition = "2021"

[features]
default = []
tor = ["arti-client", "tor-rtcompat", "rusqlite"]

[dependencies]
# Async runtime
tokio = { version = "1.35", features = ["full"] }

# HTTP client
reqwest = { version = "0.12", features = ["json", "rustls-tls", "gzip", "brotli", "socks"] }

# Async trait for provider pattern
async-trait = "0.1"
async-recursion = "1.0"

# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
toml = "0.8"

# Meilisearch client
meilisearch-sdk = "0.28"

# Qdrant client
qdrant-client = "1.9.0"

# Redis client
redis = { version = "1.1", features = ["tokio-comp", "connection-manager"] }

# Error handling
anyhow = "1.0"
thiserror = "1.0"

# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

# Configuration
config = "0.14"

# Time
chrono = { version = "0.4", features = ["serde"] }

# URL parsing
url = "2.5"

# Regex
regex = "1.10"

# RSS Feed parsing
feed-rs = "1.3"

# Robots.txt
robotstxt = "0.3.0"

# Futures
futures = "0.3"

# UUID
uuid = { version = "1.6", features = ["v4", "v5", "serde"] }

# Binary quantization helpers
ndarray = "0.15"

# ONNX runtime for embeddings and scoring
ort = { version = "2.0.0-rc.10" }

# HTML parsing
scraper = "0.21"

# Cancellation and coordination
tokio-util = "0.7"

# Compression
zstd = "0.13"

# HTTP API
axum = { version = "0.7", features = ["json"] }
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace"] }

# Prometheus metrics
prometheus = "0.13"

# Gzip decompression (for WET files)
flate2 = "1.0"
reqwest-eventsource = "0.6.0"

# Image processing (lightweight - no GPU)
image = "0.25"
thumbhash = "0.1"

# Random number generation (for anti-detection)
rand = "0.8"

# URL encoding for API queries
urlencoding = "2.1"

# Content hashing for deduplication
sha2 = "0.10"

# Concurrent hash map/set
dashmap = "5.5"

# LRU cache for embeddings
lru = "0.12"

# Tor integration (optional, enable with --features tor)
arti-client = { version = "0.40.0", features = ["tokio"], optional = true }
tor-rtcompat = { version = "0.40.0", features = ["tokio"], optional = true }
rusqlite = { version = "0.38.0", features = ["bundled"], optional = true }

[dev-dependencies]
tokio-test = "0.4"
wiremock = "0.6"