foundry-local-sdk 1.2.0

Local AI model inference powered by the Foundry Local Core engine
# 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 = "foundry-local-sdk"
version = "1.2.0"
build = "build.rs"
include = [
    "src/**",
    "build.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE.txt",
    "deps_versions.json",
    "deps_versions_winml.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local AI model inference powered by the Foundry Local Core engine"
homepage = "https://www.foundrylocal.ai/"
documentation = "https://github.com/microsoft/Foundry-Local/blob/main/sdk/rust/docs/api.md"
readme = "README.md"
license = "MIT"
repository = "https://github.com/microsoft/Foundry-Local"

[features]
default = []
nightly = []
winml = []

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

[dependencies.async-openai]
version = "0.33"
features = [
    "chat-completion-types",
    "embedding-types",
]
default-features = false

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

[dependencies.libloading]
version = "0.8"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-util]
version = "0.7"

[dependencies.urlencoding]
version = "2"

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

[build-dependencies.serde_json]
version = "1"

[build-dependencies.ureq]
version = "3"

[build-dependencies.zip]
version = "2"

[lints.clippy.all]
level = "warn"
priority = -1