oxide-agent 0.1.0

Type-safe, high-performance Rust crate for building agentic systems on Ollama
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "oxide-agent"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe, high-performance Rust crate for building agentic systems on Ollama"
readme = "README.md"
license = "MIT"
repository = "https://github.com/TheJagpreet/oxide-agent"

[features]
default = []
mojo-interop = []
wasm-tools = ["dep:wasmtime"]

[lib]
name = "oxide_agent"
path = "src/lib.rs"

[[example]]
name = "basic_chat"
path = "examples/basic_chat.rs"

[[example]]
name = "mojo_embedder"
path = "examples/mojo_embedder.rs"

[[example]]
name = "rag"
path = "examples/rag.rs"

[[example]]
name = "session"
path = "examples/session.rs"

[[example]]
name = "streaming"
path = "examples/streaming.rs"

[[example]]
name = "tool_calling"
path = "examples/tool_calling.rs"

[[example]]
name = "wasm_tool"
path = "examples/wasm_tool.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1"

[dependencies.futures-util]
version = "0.3"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = [
    "codec",
    "io",
]

[dependencies.wasmtime]
version = "28"
optional = true

[dev-dependencies.mockall]
version = "0.13"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]