3 unstable releases
Uses new Rust 2024
| 0.2.1 | Jul 30, 2025 |
|---|---|
| 0.2.0 | Jul 28, 2025 |
| 0.1.0 | Jul 16, 2025 |
#497 in HTTP client
104 downloads per month
1MB
17K
SLoC
conversa_openai_client
A native Rust client for the complete OpenAI REST API.
Features
- Full support for the entire OpenAI API, including:
- ChatGPT (chat completions)
- DALL·E (image generation and editing)
- Whisper (speech-to-text)
- Embeddings
- Assistants API (threads, runs, tools, files)
- Fine-tuning, models, moderation, and more
- Up-to-date and complete: Automatically generated from OpenAI's official OpenAPI YAML spec.
- Code generation is performed locally at build time via a build.rs script. No external tools required post-clone.
- Generated types and methods use idiomatic Rust naming conventions
Installation
Add the crate to your Cargo.toml:
[dependencies]
conversa_openai_client = "0.1"
License
Licensed under the Apache License, Version 2.0.
Contributing
Bug reports, and feature requests are welcome and appreciated! Feel free to open issues on GitHub.
Dependencies
~6–14MB
~222K SLoC