Decision Workspace
torrust-metrics vs openai-rust2 vs open_ai_rust
Side-by-side comparison of Rust crates
45
torrust-metrics
experimentalv0.1.0
Prometheus metrics integration library providing type-safe metric collection and aggregation.
64
openai-rust2
stablev1.7.6
An unofficial library for the OpenAI API (OpenAI-compatible endpoints, streaming chat, Responses API, images)
56
open_ai_rust
stablev1.1.1
Idiomatic Rust SDK for the OpenAI API: chat, responses, embeddings, audio, images, moderations, files, batches, vector stores, fine-tuning. Builder payloads, typed function-call schemas, streaming, per-request retries/timeouts.
Core Metrics
| torrust-metrics | openai-rust2 | open_ai_rust | |
|---|---|---|---|
| Health Score | 45 | 64 | 56 |
| Total Downloads | 4.7K | 6.9K | 10.6K |
| 30d Downloads | 2.1K | 0 | 0 |
| Dependents | 0 | 69 | 0 |
| Releases | 1 | 15 | 19 |
| Last Updated | 34d ago | 3d ago | 57d ago |
| Age | 1m | 1y 5m | 1y 11m |
Health Breakdown
torrust-metrics
Maintenance
11
Quality
12
Community
3
Popularity
4
Documentation
15
openai-rust2
Maintenance
19
Quality
17
Community
10
Popularity
5
Documentation
13
open_ai_rust
Maintenance
16
Quality
16
Community
6
Popularity
5
Documentation
13
Technical Details
| torrust-metrics | openai-rust2 | open_ai_rust | |
|---|---|---|---|
| Version | 0.1.0 | 1.7.6 | 1.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | AGPL-3.0-only | MIT | Apache-2.0 |
| Dependencies | 13 | 11 | 19 |
| Crate Size | 58KB | 32KB | 452KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.88 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •openai-rust2 leads with a health score of 64/100, but none of the options score above 80.
- •open_ai_rust has the most downloads (10.6K), suggesting wider adoption.
- •torrust-metrics is pre-1.0 — API may change.