fm-bindings 0.1.4

Rust bindings for Apple's Foundation Models 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"
name = "fm-bindings"
version = "0.1.4"
authors = ["Remi d'Almeida <hello@geta.dev>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for Apple's Foundation Models framework"
homepage = "https://github.com/remdalm/fm-bindings"
documentation = "https://docs.rs/fm-bindings"
readme = "README.md"
keywords = [
    "apple",
    "ios",
    "macos",
    "ai",
    "llm",
]
categories = [
    "api-bindings",
    "os::macos-apis",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/remdalm/fm-bindings"

[package.metadata.docs.rs]
all-features = true
default-target = "aarch64-apple-darwin"
targets = [
    "aarch64-apple-darwin",
    "x86_64-apple-darwin",
    "aarch64-apple-ios",
]

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

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

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

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

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

[profile.ci]
opt-level = 1
codegen-units = 16
debug = 0
incremental = true
inherits = "dev"