-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
77 lines (64 loc) · 1.71 KB
/
Cargo.toml
File metadata and controls
77 lines (64 loc) · 1.71 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
[package]
name = "perplexica-core"
version = "0.1.0"
edition = "2021"
description = "High-performance Rust implementation of Perplexica AI search engine with local LLM support"
authors = ["Perplexica Rust Contributors"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/your-repo/perplexica-rust"
repository = "https://github.com/your-repo/perplexica-rust"
keywords = ["ai", "search", "llm", "ollama", "search-engine"]
categories = ["command-line-utilities", "web-programming", "science"]
[dependencies]
# Async runtime
tokio = { version = "1.0", features = ["full"] }
futures = "0.3"
# HTTP client and web scraping
reqwest = { version = "0.12", features = ["json"] }
ureq = { version = "2.10", features = ["json"] }
scraper = "0.17"
url = "2.4"
# JSON and serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
# String processing and regex
regex = "1.0"
xml-rs = "0.8"
# Vector operations and similarity
ndarray = "0.15"
rayon = "1.8"
# CLI and terminal
clap = { version = "4.0", features = ["derive"] }
indicatif = "0.17"
console = "0.15"
dialoguer = "0.11"
# Logging and error handling
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
anyhow = "1.0"
thiserror = "1.0"
# Configuration and environment
config = "0.13"
dotenv = "0.15"
# Async trait support
async-trait = "0.1"
# Utilities
uuid = { version = "1.0", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
base64 = "0.21"
# For testing
[dev-dependencies]
tempfile = "3.0"
approx = "0.5"
[profile.release]
# Optimize for performance
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
[profile.dev]
# Faster compilation in debug mode
opt-level = 0
debug = true