[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"