44import PackageDescription
55
66let package = Package (
7- name: " MLXStructured " ,
7+ name: " mlx-swift-structured " ,
88 platforms: [ . macOS( . v14) , . iOS( . v16) ] ,
9- products: [
10- . library( name: " MLXStructured " , targets: [ " MLXStructured " ] ) ,
11- ] ,
9+ products: [ . library( name: " MLXStructured " , targets: [ " MLXStructured " ] ) ] ,
1210 dependencies: [
1311 . package ( url: " https://github.com/ml-explore/mlx-swift " , from: " 0.25.6 " ) ,
14- . package ( url: " https://github.com/ml-explore/mlx-swift-examples " , from: " 2.25.7 " ) ,
15- . package ( url: " https://github.com/huggingface/swift-transformers " , from: " 0 .1.24 " ) ,
12+ . package ( url: " https://github.com/ml-explore/mlx-swift-lm " , from: " 2.29.2 " ) ,
13+ . package ( url: " https://github.com/huggingface/swift-transformers " , from: " 1 .1.0 " ) ,
1614 . package ( url: " https://github.com/petrukha-ivan/swift-json-schema " , from: " 2.0.2 " ) ,
1715 . package ( url: " https://github.com/apple/swift-argument-parser " , from: " 1.4.0 " ) ,
1816 ] ,
@@ -46,7 +44,7 @@ let package = Package(
4644 dependencies: [
4745 . target( name: " CMLXStructured " ) ,
4846 . product( name: " MLX " , package : " mlx-swift " ) ,
49- . product( name: " MLXLMCommon " , package : " mlx-swift-examples " ) ,
47+ . product( name: " MLXLMCommon " , package : " mlx-swift-lm " ) ,
5048 . product( name: " JSONSchema " , package : " swift-json-schema " )
5149 ]
5250 ) ,
@@ -55,7 +53,7 @@ let package = Package(
5553 name: " MLXStructuredCLI " ,
5654 dependencies: [
5755 . target( name: " MLXStructured " ) ,
58- . product( name: " MLXLLM " , package : " mlx-swift-examples " ) ,
56+ . product( name: " MLXLLM " , package : " mlx-swift-lm " ) ,
5957 . product( name: " ArgumentParser " , package : " swift-argument-parser " ) ,
6058 ] ,
6159 ) ,
@@ -64,7 +62,7 @@ let package = Package(
6462 name: " MLXStructuredTests " ,
6563 dependencies: [
6664 . target( name: " MLXStructured " ) ,
67- . product( name: " MLXLLM " , package : " mlx-swift-examples " ) ,
65+ . product( name: " MLXLLM " , package : " mlx-swift-lm " ) ,
6866 ] ,
6967 ) ,
7068 ] ,
0 commit comments