# 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 = "apple-translate-rs-sync"
version = "0.0.1"
build = "build.rs"
include = [
    "Cargo.toml",
    "README.md",
    "build.rs",
    "rust-toolchain.toml",
    "src/**/*.rs",
    "src/**/*.swift",
    "src/**/*.m",
    "tests/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Synchronous Rust bindings for Apple's on-device Translation framework"
readme = "README.md"
keywords = [
    "apple",
    "translation",
    "macos",
    "swift",
]
categories = [
    "api-bindings",
    "os::macos-apis",
]
license = "MIT"
repository = "https://github.com/joshuarli/apple-translate-rs-sync"

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

[[bin]]
name = "stress"
path = "src/bin/stress.rs"

[[bin]]
name = "translate-cli"
path = "src/bin/translate-cli.rs"

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

[dependencies.swift-bridge]
version = "0.1.59"

[build-dependencies.swift-bridge-build]
version = "0.1.59"
