fprovider 3.0.0

Provider library for the fiddlesticks agent harness framework
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 = "2024"
rust-version = "1.93"
name = "fprovider"
version = "3.0.0"
authors = ["Philo Groves <philogroves@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provider library for the fiddlesticks agent harness framework"
readme = "README.md"
keywords = [
    "ai",
    "llm",
    "providers",
    "openai",
    "ollama",
]
categories = [
    "asynchronous",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/philogroves/fiddlesticks"

[features]
default = [
    "provider-opencode-zen",
    "provider-openai",
    "provider-anthropic",
    "provider-ollama",
]
provider-anthropic = ["provider-openai"]
provider-ollama = ["provider-openai"]
provider-openai = [
    "dep:reqwest",
    "dep:serde",
    "dep:serde_json",
    "dep:futures-util",
    "dep:async-stream",
    "dep:tokio",
    "dep:tokio-tungstenite",
    "dep:http",
]
provider-opencode-zen = [
    "provider-openai",
    "dep:reqwest",
    "dep:serde",
    "dep:serde_json",
    "dep:futures-util",
    "dep:async-stream",
]

[lib]
name = "fprovider"
path = "src/lib.rs"
doctest = true

[[test]]
name = "anthropic_provider_behavior"
path = "tests/anthropic_provider_behavior.rs"

[[test]]
name = "ollama_provider_behavior"
path = "tests/ollama_provider_behavior.rs"

[[test]]
name = "openai_provider_behavior"
path = "tests/openai_provider_behavior.rs"

[[test]]
name = "openai_provider_integration"
path = "tests/openai_provider_integration.rs"

[[test]]
name = "opencode_zen_provider_behavior"
path = "tests/opencode_zen_provider_behavior.rs"

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

[dependencies.fcommon]
version = "3.0.0"

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

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

[dependencies.http]
version = "1"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.tokio]
version = "=1.48.0"
features = [
    "sync",
    "time",
]
optional = true

[dependencies.tokio-tungstenite]
version = "0.28"
features = ["rustls-tls-webpki-roots"]
optional = true

[dev-dependencies.tokio]
version = "=1.48.0"
features = [
    "macros",
    "rt-multi-thread",
]