# 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"
name = "sutra_afm_lib"
version = "0.0.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe, high-performance Rust bindings for Apple's on-device foundation models (Apple Intelligence)."
readme = "README.md"
keywords = [
    "apple",
    "llm",
    "ai",
    "swift",
    "coreml",
]
categories = [
    "api-bindings",
    "science",
]
license = "MIT"
repository = "https://github.com/nranjan2code/apple-foundation-model"
resolver = "2"

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

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

[dependencies.colored]
version = "3.0.0"

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

[dependencies.interprocess]
version = "2.4.0"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_repr]
version = "0.1.20"

[dependencies.swift-rs]
version = "1.0.7"

[dependencies.tokio]
version = "1.50.0"
features = [
    "sync",
    "full",
]

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

[build-dependencies.swift-rs]
version = "1.0.7"
features = ["build"]
