Expands SDK support to 8 additional languages/frameworks: - Java SDK with Maven/OkHttp/Jackson - Kotlin SDK with Gradle/Ktor/kotlinx.serialization - Swift SDK with Swift Package Manager/async-await - C SDK with CMake/libcurl - C++ SDK with CMake/Modern C++20 - C# SDK with .NET 8.0/HttpClient - Ruby SDK with Bundler/Faraday - Rust SDK with Cargo/reqwest/tokio All SDKs include: - Tensor operations (matmul, conv2d, attention) - LLM inference with streaming support - Model registry, pricing, and usage APIs - Builder patterns where idiomatic - Full type safety
31 lines
671 B
Swift
31 lines
671 B
Swift
// swift-tools-version:5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "SynorCompute",
|
|
platforms: [
|
|
.macOS(.v12),
|
|
.iOS(.v15),
|
|
.tvOS(.v15),
|
|
.watchOS(.v8)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "SynorCompute",
|
|
targets: ["SynorCompute"]
|
|
)
|
|
],
|
|
dependencies: [],
|
|
targets: [
|
|
.target(
|
|
name: "SynorCompute",
|
|
dependencies: [],
|
|
path: "Sources/SynorCompute"
|
|
),
|
|
.testTarget(
|
|
name: "SynorComputeTests",
|
|
dependencies: ["SynorCompute"],
|
|
path: "Tests/SynorComputeTests"
|
|
)
|
|
]
|
|
)
|