| Crates.io | ollama-oxide |
| lib.rs | ollama-oxide |
| version | 0.0.1 |
| created_at | 2026-01-12 20:30:02.238374+00 |
| updated_at | 2026-01-12 20:30:02.238374+00 |
| description | A Rust library for integrating with Ollama's native API, providing low-level primitives and high-level conveniences. |
| homepage | |
| repository | https://github.com/franciscotbjr/ollama-oxide |
| max_upload_size | |
| id | 2038807 |
| size | 49,309 |
A Rust library providing low-level primitives and high-level conveniences for integrating with Ollama's native API.
Single-crate design with modular structure:
ollama-oxide/
└── src/
├── lib.rs # Main library entry point
├── primitives/ # Low-level API primitives (default)
├── http/ # HTTP client layer (default)
└── conveniences/ # High-level APIs (optional)
Feature Flags:
default = ["http", "primitives"] - Core functionalityconveniences - Optional ergonomic high-level APIsAdd this to your Cargo.toml:
# Default features (primitives + http)
[dependencies]
ollama-oxide = "0.1.0"
# With high-level conveniences
[dependencies]
ollama-oxide = { version = "0.1.0", features = ["conveniences"] }
#[tokio::main]
fn main() -> Result<(), Box<dyn std::error::Error>> {
todo!("Working ");
}
cargo build
cargo test
cargo run --example basic_generation
The library follows Ollama's OpenAPI specifications (see spec/primitives/).
12 Total Endpoints:
See spec/api-analysis.md for detailed endpoint documentation.
Contributions are welcome! Please read CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
Based on Ollama's official libraries and API specifications.