       .target(name: "RxTest", dependencies: ["RxSwift"]),
     ],
     Target.allTests()
-  ] as [[Target]]).flatMap { $0 }
+  ] as [[Target]]).flatMap { $0 },
+  swiftLanguageVersions: [.v5]
 )


let package = Package(
  name: "RxSwift",
  products: ([
    [
      .library(name: "RxSwift", targets: ["RxSwift"]),

// swift-tools-version:5.0

import PackageDescription

