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
|
[package]
name = "makima"
version = "0.1.0"
edition = "2024"
[[bin]]
name = "makima-server"
path = "src/bin/server.rs"
[dependencies]
# ML/Audio (existing)
# Local fork with streaming API exposed (diarize_streaming method)
parakeet-rs = { path = "../vendor/parakeet-rs", features = ["sortformer"] }
symphonia = { version = "0.5", features = ["mp3", "aac", "flac", "ogg", "vorbis", "wav", "pcm"] }
ort = "2.0.0-rc.10"
tokenizers = "0.21"
hf-hub = "0.4"
ndarray = "0.16"
# Web server
axum = { version = "0.8", features = ["ws", "multipart"] }
tokio = { version = "1.0", features = ["full", "signal"] }
tower-http = { version = "0.6", features = ["cors", "trace"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
futures = "0.3"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
bytes = "1.0"
uuid = { version = "1.0", features = ["v4", "serde"] }
# OpenAPI
utoipa = { version = "5", features = ["axum_extras", "uuid", "chrono"] }
utoipa-swagger-ui = { version = "9", features = ["axum"] }
# Error handling
thiserror = "2.0"
anyhow = "1.0"
# Concurrent data structures
dashmap = "6.0"
# Database
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "uuid", "chrono", "json"] }
chrono = { version = "0.4", features = ["serde"] }
# HTTP client for LLM API
reqwest = { version = "0.12", features = ["json"] }
# Lazy statics
once_cell = "1.19"
# Cryptographic hashing for API keys
sha2 = "0.10"
rand = { version = "0.8", features = ["std", "std_rng"] }
base64 = "0.22"
hex = "0.4"
# JWT authentication
jsonwebtoken = "9"
# JQ for JSON transformation
jaq-interpret = "1.5"
jaq-parse = "1.0"
jaq-core = "1.5"
jaq-std = "1.6"
indexmap = "2.0"
ahash = "0.8"
|