-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (28 loc) · 722 Bytes
/
Copy pathCargo.toml
File metadata and controls
35 lines (28 loc) · 722 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
[package]
name = "embeddings-service"
version = "0.1.0"
edition = "2021"
[dependencies]
# Web framework
axum = { version = "0.7", features = ["json"] }
tokio = { version = "1.0", features = ["full"] }
tower = "0.5.2"
tower-http = { version = "0.5", features = ["cors"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# ML/NLP
fastembed = "4.9.1"
# Logging
tracing = "0.1"
tracing-subscriber = "0.3"
[dev-dependencies]
axum-test = "17.3.0"
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
# Optional: Optimize for specific CPU features
# Uncomment the following lines for maximum performance on your target CPU
# [build]
# rustflags = ["-C", "target-cpu=native"]