forked from vapor/vapor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
73 lines (60 loc) · 2.84 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
71
72
73
// swift-tools-version:4.0
import PackageDescription
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"),
// 🌎 Utility package containing tools for byte manipulation, Codable, OS APIs, and debugging.
.package(url: "https://github.com/vapor/core.git", from: "3.0.0"),
// 🔑 Hashing (BCrypt, SHA, HMAC, etc), encryption, and randomness.
.package(url: "https://github.com/vapor/crypto.git", from: "3.0.0"),
// 🗄 Core services for creating database integrations.
.package(url: "https://github.com/vapor/database-kit.git", from: "1.0.0"),
// 🚀 Non-blocking, event-driven HTTP for Swift built on Swift NIO.
.package(url: "https://github.com/vapor/http.git", from: "3.0.0"),
// 🏞 Parses and serializes multipart-encoded data with Codable support.
.package(url: "https://github.com/vapor/multipart.git", from: "3.0.0"),
// 🚍 High-performance trie-node router.
.package(url: "https://github.com/vapor/routing.git", from: "3.0.0"),
// 📦 Dependency injection / inversion of control framework.
.package(url: "https://github.com/vapor/service.git", from: "1.0.0"),
// 🖋 Easy-to-use foundation for building powerful templating languages in Swift.
.package(url: "https://github.com/vapor/template-kit.git", from: "1.0.0"),
// 📝 Parses and serializes url-encoded form data with Codable support.
.package(url: "https://github.com/vapor/url-encoded-form.git", from: "1.0.0"),
// ✅ Extensible data validation library (email, alphanumeric, UUID, etc)
.package(url: "https://github.com/vapor/validation.git", from: "2.0.0"),
// 🔌 Non-blocking, event-driven WebSocket client and server built on Swift NIO.
.package(url: "https://github.com/vapor/websocket.git", from: "1.0.0"),
],
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",
"HTTP",
"Logging",
"Multipart",
"Routing",
"Service",
"TemplateKit",
"URLEncodedForm",
"Validation",
"WebSocket"
]),
.testTarget(name: "VaporTests", dependencies: ["Vapor"]),
]
)