GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — feather-examples/validation/Package.swift at main · feather-framework/feather-examples Expand file tree/ Copy pathPackage.swiftMore file actions 64 lines (60 loc) · 2.43 KB / Copy pathPackage.swiftFile metadata and controls64 lines (60 loc) · 2.43 KB 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 // swift-tools-version:6.1 import PackageDescription // NOTE: https://github.com/swift-server/swift-http-server/blob/main/Package.swift var defaultSwiftSettings: [SwiftSetting] = [ // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0441-formalize-language-mode-terminology.md .swiftLanguageMode(.v6), // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0444-member-import-visibility.md .enableUpcomingFeature("MemberImportVisibility"), // https://forums.swift.org/t/experimental-support-for-lifetime-dependencies-in-swift-6-2-and-beyond/78638 .enableExperimentalFeature("Lifetimes"), // https://github.com/swiftlang/swift/pull/65218 .enableExperimentalFeature("AvailabilityMacro=vaporSpecExamplesServer 1.0:macOS 15.0, iOS 18.0, tvOS 18.0, watchOS 11.0, visionOS 2.0"), ] #if compiler(>=6.2) defaultSwiftSettings.append( // https://github.com/swiftlang/swift-evolution/blob/main/proposals/0461-async-function-isolation.md .enableUpcomingFeature("NonisolatedNonsendingByDefault") ) #endif defaultSwiftSettings += [ .enableExperimentalFeature("StrictConcurrency=complete"), .unsafeFlags(["-cross-module-optimization"], .when(configuration: .release)), ] let package = Package( name: "validation", platforms: [ .macOS(.v15), .iOS(.v18), .tvOS(.v18), .watchOS(.v11), .visionOS(.v2), ], products: [ .executable(name: "ValidationExamples", targets: ["ValidationExamples"]), ], dependencies: [ .package(url: "https://github.com/feather-framework/feather-validation", exact: "1.0.0-beta.1"), .package(url: "https://github.com/hummingbird-project/hummingbird", from: "2.0.0"), ], targets: [ .executableTarget( name: "ValidationExamples", dependencies: [ .product(name: "FeatherValidation", package: "feather-validation"), .product(name: "FeatherValidationFoundation", package: "feather-validation"), .product(name: "Hummingbird", package: "hummingbird"), ], swiftSettings: defaultSwiftSettings ), .testTarget( name: "ValidationExamplesTests", dependencies: [ .target(name: "ValidationExamples"), .product(name: "HummingbirdTesting", package: "hummingbird"), ], swiftSettings: defaultSwiftSettings ) ] ) |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |