forked from vapor/fluent-postgres-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
24 lines (21 loc) · 1.03 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "FluentPostgreSQL",
products: [
// Swift ORM for PostgreSQL (built on top of Fluent ORM framework)
.library(name: "FluentPostgreSQL", targets: ["FluentPostgreSQL"]),
],
dependencies: [
// 🌎 Utility package containing tools for byte manipulation, Codable, OS APIs, and debugging.
.package(url: "https://github.com/vapor/core.git", from: "3.0.0"),
// Swift ORM framework (queries, models, and relations) for building NoSQL and SQL database integrations.
.package(url: "https://github.com/vapor/fluent.git", from: "3.0.0"),
// 🐘 Non-blocking, event-driven Swift client for PostgreSQL.
.package(url: "https://github.com/vapor/postgresql.git", from: "1.0.0"),
],
targets: [
.target(name: "FluentPostgreSQL", dependencies: ["Async", "FluentSQL", "PostgreSQL"]),
.testTarget(name: "FluentPostgreSQLTests", dependencies: ["FluentBenchmark", "FluentPostgreSQL"]),
]
)