-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
111 lines (103 loc) · 3.63 KB
/
Cargo.toml
File metadata and controls
111 lines (103 loc) · 3.63 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
106
107
108
109
110
111
[package]
name = "axon"
version = "0.35.1"
edition = "2024"
rust-version = "1.94.0"
description = "Web crawl, scrape, embed, and query CLI backed by a self-hosted RAG stack"
authors = ["jmagar"]
license = "MIT"
[lib]
path = "lib.rs"
[[bin]]
name = "axon"
path = "main.rs"
[dependencies]
anyhow = "1"
async-trait = "0.1"
axum = { version = "0.8", features = ["ws"] }
base64 = "0.22"
bollard = "0.20"
chrono = { version = "0.4", features = ["serde"] }
dashmap = "6"
clap = { version = "4", features = ["derive", "env"] }
clap_complete = "4"
console = "0.16"
dialoguer = "0.12"
indicatif = "0.18"
lapin = "4"
log = "0.4"
octocrab = "0.49"
portable-pty = "0"
redis = { version = "1.0", features = ["tokio-comp", "connection-manager"] }
futures-util = "0.3"
futures = "0.3"
reqwest = { version = "0.13", features = ["json", "rustls", "stream", "form"] }
rustls = { version = "0.23", features = ["aws-lc-rs"], default-features = false }
rand = "0.10"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tempfile = "3"
thiserror = "2"
# NOTE: In spider v2.45.x these are valid optional features and are required
# for our crawl/render pipeline.
spider = { version = "2", default-features = false, features = [
"basic", "chrome", "regex", "sitemap", "adblock",
"chrome_stealth", "chrome_screenshot", "chrome_store_page",
"chrome_headless_new", "chrome_simd",
"simd", "inline-more", "cache_mem",
"ua_generator", "headers", "time", "control",
"firewall", "hedge",
] }
spider_agent = { version = "2.47.89", default-features = false, features = ["search_tavily", "openai"] }
spider_transformations = "2"
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "postgres", "sqlite", "uuid", "chrono"] }
subtle = "2"
text-splitter = { version = "0.29", features = ["code", "markdown"] }
tree-sitter-bash = "0.23"
tree-sitter-go = "0.23"
tree-sitter-javascript = "0.23"
tree-sitter-language = "0.1"
tree-sitter-python = "0.23"
tree-sitter-rust = "0.24"
tree-sitter-typescript = "0.23"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "fs", "io-util", "net", "process", "signal", "sync", "time"] }
tokio-tungstenite = { version = "0.29", features = ["rustls-tls-native-roots"] }
toml = { version = "0.8", default-features = false, features = ["parse"] }
tokio-util = { version = "0.7", features = ["compat"] }
tokio-executor-trait = "3"
tokio-reactor-trait = "4"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] }
uuid = { version = "1", features = ["v4", "v5", "serde"] }
zip = { version = "8", default-features = false, features = ["deflate"] }
regex = "1"
sha2 = "0.10"
hex = "0.4"
reflink-copy = "0.1"
dotenvy = "0.15"
rmcp = { version = "1.1.0", features = ["server", "macros", "transport-io", "transport-streamable-http-server", "schemars", "elicitation"] }
html5gum = "0.8"
agent-client-protocol = { version = "0.10.2", features = ["unstable"] }
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = true
[profile.dev.package.spider]
opt-level = 2
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread", "fs", "io-util", "net", "process", "signal", "sync", "time"] }
# httpmock enables mock HTTP servers in unit tests, unlocking coverage for
# tei_embed 413-retry logic, ensure_collection idempotency, and API clients
# without requiring live services.
httpmock = "0.8"
insta = { version = "1", features = ["json"] }
serial_test = "3"
proptest = "1"
[lints.rust]
unsafe_code = "deny"
unused_import_braces = "warn"
unused_qualifications = "warn"
[lints.clippy]
all = { level = "warn", priority = -1 }
module_inception = "allow" # crates/crawl.rs: acceptable module name