             dependencies: ["MongoKitten"]),
     ]
 )
-
-var targetDependencies: [Target.Dependency] = ["BSON", "_MongoKittenCrypto", "NIO"]
-
-// 🔑
-if #available(macOS 10.14, iOS 11, *) {
-    package.dependencies.append(
-        .package(url: "https://github.com/apple/swift-nio-transport-services.git", from: "0.5.1")
-    )
-    
-    targetDependencies.append("NIOTransportServices")
-} else {
-    package.dependencies.append(
-        .package(url: "https://github.com/apple/swift-nio-ssl.git", from: "1.1.1")
-    )
-    
-    targetDependencies.append("NIOOpenSSL")
-}
-
-package.targets.append(
-    .target(
-        name: "MongoKitten",
-        dependencies: targetDependencies
-    )
-)

        
        // 🚀
        .package(url: "https://github.com/apple/swift-nio.git", from: "1.8.0"),
    ],
    targets: [
        .target(
            name: "_MongoKittenCrypto",
            dependencies: []
        ),
        .target(
            name: "GridFS",
            dependencies: ["BSON", "MongoKitten", "NIO"]),


import PackageDescription

let package = Package(
    name: "MongoKitten",
    products: [
        // Products define the executables and libraries produced by a package, and make them visible to other packages.
