llmrs 0.1.0

Unofficial Rust SDK for IBM WatsonX AI platform
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.88"
name = "llmrs"
version = "0.1.0"
authors = ["Ying Kit WONG"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial Rust SDK for IBM WatsonX AI platform"
homepage = "http://watsonx.ai"
documentation = "https://docs.rs/llmrs"
readme = "README.md"
keywords = [
    "watsonx",
    "ibm",
    "ai",
    "llm",
    "agentic",
]
categories = [
    "api-bindings",
    "web-programming",
    "text-processing",
]
license = "Apache-2.0"
repository = "https://github.com/yingkitw/llmrs"

[features]
data = []
default = ["dotenv"]
dotenv = ["dep:dotenvy"]
governance = []

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

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

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

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

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

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

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

[dependencies.dotenvy]
version = "0.15"
optional = true

[dependencies.futures]
version = "0.3"
features = [
    "std",
    "async-await",
]
default-features = false

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "form",
    "native-tls",
    "http2",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "time",
    "macros",
]
default-features = false

[dependencies.zeroize]
version = "1.0"
features = ["alloc"]
default-features = false

[dev-dependencies.tokio-test]
version = "0.4"

[profile.bench]
debug = 2
inherits = "release"

[profile.dev]
opt-level = 0
debug = 2
incremental = true

[profile.dev.package."*"]
opt-level = 3

[profile.minimal]
opt-level = "z"
lto = "fat"
codegen-units = 1
debug = 0
split-debuginfo = "packed"
panic = "abort"
incremental = false
inherits = "release"
strip = true

[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
debug = 0
split-debuginfo = "packed"
panic = "abort"
incremental = false
strip = true