Squashed 'vendor/ruvector/' content from commit b64c2172

git-subtree-dir: vendor/ruvector
git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
ruv
2026-02-28 14:39:40 -05:00
commit d803bfe2b1
7854 changed files with 3522914 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "RuvectorRecommendation",
platforms: [
.iOS(.v16),
.macOS(.v13)
],
products: [
.library(
name: "RuvectorRecommendation",
targets: ["RuvectorRecommendation"]),
],
dependencies: [
// WasmKit for WASM runtime
.package(url: "https://github.com/swiftwasm/WasmKit.git", from: "0.1.0"),
],
targets: [
.target(
name: "RuvectorRecommendation",
dependencies: [
.product(name: "WasmKit", package: "WasmKit"),
],
path: ".",
exclude: ["Package.swift", "Resources"],
sources: ["WasmRecommendationEngine.swift", "HybridRecommendationService.swift"],
resources: [
.copy("Resources/recommendation.wasm")
]
),
.testTarget(
name: "RuvectorRecommendationTests",
dependencies: ["RuvectorRecommendation"],
path: "Tests"
),
]
)