intentforge / Cargo.toml
Likhith Sai Seemala
Deploy IntentForge v2 to HF Spaces
0ca462b
Raw History Blame Contribute Delete
2.34 kB
[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"