|
1 |
| -// swift-tools-version:4.0 |
| 1 | +// swift-tools-version:5.0 |
2 | 2 | import PackageDescription
|
3 | 3 |
|
4 | 4 | let package = Package(
|
5 |
| - name: "FluentSQLite", |
| 5 | + name: "fluent-sqlite-driver", |
6 | 6 | products: [
|
7 |
| - .library(name: "FluentSQLite", targets: ["FluentSQLite"]), |
| 7 | + .library(name: "FluentSQLiteDriver", targets: ["FluentSQLiteDriver"]), |
8 | 8 | ],
|
9 | 9 | dependencies: [
|
10 |
| - // 🌎 Utility package containing tools for byte manipulation, Codable, OS APIs, and debugging. |
11 |
| - .package(url: "https://github.com/vapor/core.git", from: "3.0.0"), |
12 |
| - |
13 |
| - // ✳️ Swift ORM framework (queries, models, and relations) for building NoSQL and SQL database integrations. |
14 |
| - .package(url: "https://github.com/vapor/fluent.git", from: "3.0.0"), |
15 |
| - |
16 |
| - // 📦 Dependency injection / inversion of control framework. |
17 |
| - .package(url: "https://github.com/vapor/service.git", from: "1.0.0"), |
18 |
| - |
19 |
| - // 🔵 SQLite 3 wrapper for Swift |
20 |
| - .package(url: "https://github.com/vapor/sqlite.git", from: "3.0.0"), |
| 10 | + .package(url: "https://github.com/vapor/fluent-kit.git", .branch("master")), |
| 11 | + .package(url: "https://github.com/vapor/nio-sqlite.git", .branch("master")), |
| 12 | + .package(url: "https://github.com/vapor/sql.git", .branch("master")), |
| 13 | + .package(url: "https://github.com/vapor/nio-kit.git", .branch("master")), |
21 | 14 | ],
|
22 | 15 | targets: [
|
23 |
| - .target(name: "FluentSQLite", dependencies: ["Async", "FluentSQL", "Service", "SQLite"]), |
24 |
| - .testTarget(name: "FluentSQLiteTests", dependencies: ["FluentBenchmark", "FluentSQLite", "SQLite"]), |
| 16 | + .target(name: "FluentSQLiteDriver", dependencies: [ |
| 17 | + "FluentKit", |
| 18 | + "FluentSQL", |
| 19 | + "NIOKit", |
| 20 | + "NIOSQLite", |
| 21 | + "SQLKit" |
| 22 | + ]), |
| 23 | + .testTarget(name: "FluentSQLiteDriverTests", dependencies: ["FluentBenchmark", "FluentSQLiteDriver"]), |
25 | 24 | ]
|
26 | 25 | )
|
0 commit comments