-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (45 loc) · 1.53 KB
/
Cargo.toml
File metadata and controls
52 lines (45 loc) · 1.53 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
[package]
name = "swarm-tools"
version = "1.0.0"
edition = "2021"
authors = ["Swarm Tools Contributors"]
description = "Autonomous swarm optimization tools - pure Rust implementation for loop detection, cost-benefit analysis, and team optimization"
license = "MIT"
repository = "https://github.com/lazerusrm/Swarm-Tools"
keywords = ["swarm", "autonomous", "agents", "optimization", "embedding"]
categories = ["development-tools", "algorithms"]
[dependencies]
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.148"
chrono = { version = "0.4.42", features = ["serde"] }
regex = "1.12.2"
strsim = "0.11.1"
hex = "0.4.3"
lru = "0.12.5"
thiserror = "1.0.69"
anyhow = "1.0.100"
sha2 = "0.10.9"
# Semantic Engine Dependencies
tokenizers = { version = "0.19", optional = true }
ndarray = "0.16"
lazy_static = "1.5"
ureq = { version = "2.9", default-features = false }
# ONNX Runtime - optional, requires system libraries or runtime DLL
# Enable with --features ort for full BERT embeddings
ort = { version = "2.0.0-rc.10", default-features = false, optional = true }
[features]
default = ["semantic", "dep:ort"]
# semantic: Enable semantic embedding engine
# ort: Enable ONNX Runtime for BERT embeddings
semantic = ["dep:tokenizers", "dep:ort"]
# CI build - disable ONNX Runtime to avoid download timeouts
# Use --features semantic (without ort) for tokenizer-only mode
ci = []
[build-dependencies]
reqwest = { version = "0.11", features = ["blocking"] }
tar = "0.4"
flate2 = "1.0"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1