forked from vapor/vapor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
70 lines (59 loc) · 2.52 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// swift-tools-version:4.0
import PackageDescription
#if os(macOS)
let tlsImpl: Target.Dependency = "AppleTLS"
#else
let tlsImpl: Target.Dependency = "OpenSSL"
#endif
let package = Package(
name: "Vapor",
products: [
.library(name: "Vapor", targets: ["Vapor"]),
],
dependencies: [
// 💻 APIs for creating interactive CLI tools.
.package(url: "https://github.com/vapor/console.git", from: "3.0.0-rc.2"),
// 🌎 Utility package containing tools for byte manipulation, Codable, OS APIs, and debugging.
.package(url: "https://github.com/vapor/core.git", from: "3.0.0-rc.2"),
// 🔑 Hashing (BCrypt, SHA, HMAC, etc), encryption, and randomness.
.package(url: "https://github.com/vapor/crypto.git", from: "3.0.0-rc.2"),
// 🗄 Core services for creating database integrations.
.package(url: "https://github.com/vapor/database-kit.git", from: "1.0.0-rc.2"),
// 🚀 Non-blocking, event-driven networking for Swift (HTTP and WebSockets).
.package(url: "https://github.com/vapor/engine.git", from: "3.0.0-rc.2"),
// 🚍 High-performance trie-node router.
.package(url: "https://github.com/vapor/routing.git", from: "3.0.0-rc.2"),
// 📦 Dependency injection / inversion of control framework.
.package(url: "https://github.com/vapor/service.git", from: "1.0.0-rc.2"),
// 🖋 Easy-to-use foundation for building powerful templating languages in Swift.
.package(url: "https://github.com/vapor/template-kit.git", from: "1.0.0-rc.2"),
// ✅ Extensible data validation library (email, alphanumeric, UUID, etc)
.package(url: "https://github.com/vapor/validation.git", from: "2.0.0-rc.2"),
],
targets: [
// Boilerplate
.target(name: "Boilerplate", dependencies: ["Service", "Routing", "Vapor"]),
.target(name: "BoilerplateRun", dependencies: ["Boilerplate"]),
// Vapor
.target(name: "Development", dependencies: ["Vapor"]),
.target(name: "Vapor", dependencies: [
"Async",
"Command",
"Console",
"COperatingSystem",
"Crypto",
"DatabaseKit",
"Debugging",
"FormURLEncoded",
"HTTP",
"Logging",
"Multipart",
"Routing",
"Service",
"TemplateKit",
"Validation",
"WebSocket"
]),
.testTarget(name: "VaporTests", dependencies: ["Vapor"]),
]
)