-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml.example
More file actions
44 lines (34 loc) · 833 Bytes
/
Cargo.toml.example
File metadata and controls
44 lines (34 loc) · 833 Bytes
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
# Add these dependencies to your Cargo.toml for LanceDB + Candle integration
# Rust edition 2021 required
[package]
name = "rustcoder"
version = "0.1.0"
edition = "2021"
[dependencies]
# Vector Database
lancedb = "0.23"
# Machine Learning - Candle Framework
candle-core = "0.9"
candle-nn = "0.9"
candle-transformers = "0.9"
# HuggingFace ecosystem integration
hf_hub = "0.3"
tokenizers = "0.21"
safetensors = "0.4"
# Arrow for schema and data structures
arrow = "55"
arrow-array = "55"
arrow-schema = "55"
# Async runtime
tokio = { version = "1", features = ["full"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Error handling
anyhow = "1"
thiserror = "1"
# Logging
tracing = "0.1"
tracing-subscriber = "0.3"
# Utilities
ndarray = "0.15" # Optional: for advanced tensor operations