-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPackage.swift
More file actions
35 lines (34 loc) · 1.33 KB
/
Package.swift
File metadata and controls
35 lines (34 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "OpenGlasses",
platforms: [
.iOS(.v26)
],
dependencies: [
// Meta Wearables Device Access Toolkit
.package(url: "https://github.com/facebook/meta-wearables-dat-ios.git", from: "0.5.0"),
// HaishinKit — RTMP live streaming
.package(url: "https://github.com/shogo4405/HaishinKit.swift.git", from: "2.0.0"),
// MLX Swift LM — on-device LLM inference
.package(url: "https://github.com/ml-explore/mlx-swift-lm.git", branch: "main"),
],
targets: [
.target(
name: "OpenGlasses",
dependencies: [
.product(name: "MWDATCore", package: "meta-wearables-dat-ios"),
.product(name: "MWDATCamera", package: "meta-wearables-dat-ios"),
.product(name: "HaishinKit", package: "HaishinKit.swift"),
.product(name: "RTMPHaishinKit", package: "HaishinKit.swift"),
.product(name: "MLXLLM", package: "mlx-swift-lm"),
.product(name: "MLXVLM", package: "mlx-swift-lm"),
.product(name: "MLXLMCommon", package: "mlx-swift-lm"),
],
path: "OpenGlasses/Sources",
resources: [
.process("Resources")
]
),
]
)