@@ -5,9 +5,6 @@ let applePlatforms: [PackageDescription.Platform] = [.iOS, .macOS, .watchOS, .tv
55let target : Target = . target(
66 name: " SQLite " ,
77 dependencies: [
8- . product( name: " SwiftToolchainCSQLite " ,
9- package : " swift-toolchain-sqlite " ,
10- condition: . when( traits: [ " SwiftToolchainCSQLite " ] ) ) ,
118 . product( name: " SQLiteSwiftCSQLite " ,
129 package : " CSQLite " ,
1310 condition: . when( traits: [ " SQLiteSwiftCSQLite " ] ) ) ,
@@ -31,7 +28,7 @@ let testTarget: Target = .testTarget(
3128
3229let defaultTraits : Set < String >
3330#if os(Linux)
34- defaultTraits = [ " SwiftToolchainCSQLite " ]
31+ defaultTraits = [ " SQLiteSwiftCSQLite " ]
3532#else
3633defaultTraits = [ " SystemSQLite " ]
3734#endif
@@ -52,8 +49,6 @@ let package = Package(
5249 traits: [
5350 . trait( name: " SystemSQLite " ,
5451 description: " Uses the system-provided SQLite (on Apple platforms) " ) ,
55- . trait( name: " SwiftToolchainCSQLite " ,
56- description: " Include SQLite from the Swift toolchain " ) ,
5752 . trait( name: " SQLiteSwiftCSQLite " ,
5853 description: " Include SQLite from SQLite.swift, based on the toolchain version " ) ,
5954 // this will note compile, just included for sake of completeness
@@ -66,7 +61,6 @@ let package = Package(
6661 . default( enabledTraits: defaultTraits)
6762 ] ,
6863 dependencies: [
69- . package ( url: " https://github.com/swiftlang/swift-toolchain-sqlite " , from: " 1.0.7 " ) ,
7064 . package ( url: " https://github.com/stephencelis/CSQLite " , from: " 3.50.4 " , traits: [ . trait( name: " FTS5 " , condition: . when( traits: [ " FTS5 " ] ) ) ] ) ,
7165 . package ( url: " https://github.com/sqlcipher/SQLCipher.swift " , from: " 4.11.0 " )
7266 ] ,
0 commit comments