File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1- // swift-tools-version:5.1
1+ // swift-tools-version:5.2
22import PackageDescription
33
44let package = Package (
55 name: " VaporExample " ,
66 platforms: [
7- . macOS( . v10_14 )
7+ . macOS( . v10_15 )
88 ] ,
99 dependencies: [
1010 // The driver depends on SwiftNIO 2 and therefore is only compatible with Vapor 4.
11- . package ( url: " https://github.com/vapor/vapor " , . exact ( " 4.0.0-beta.3.24 " ) ) ,
11+ . package ( url: " https://github.com/vapor/vapor.git " , from : " 4.2.1 " ) ,
1212 . package ( url: " https://github.com/mongodb/mongo-swift-driver " , . upToNextMajor( from: " 1.0.0-rc0 " ) )
1313 ] ,
1414 targets: [
15- . target( name: " VaporExample " , dependencies: [ " Vapor " , " MongoSwift " ] )
15+ . target( name: " VaporExample " , dependencies: [
16+ . product( name: " MongoSwift " , package : " mongo-swift-driver " ) ,
17+ . product( name: " Vapor " , package : " vapor " ) ,
18+ ] )
1619 ]
1720)
You can’t perform that action at this time.
0 commit comments