-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPackage.swift
More file actions
45 lines (41 loc) · 1.22 KB
/
Package.swift
File metadata and controls
45 lines (41 loc) · 1.22 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
// swift-tools-version:6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
//
// Package.swift
// https://github.com/mochidev/Bytes
//
// Created by Dimitri Bouniol on 2026-05-06.
// Copyright © 2020-26 Mochi Development, Inc. All rights reserved.
// mochidev-swift-bytes: F44D5591194F47C0834EC1EBD0102932
//
import PackageDescription
let swiftSettings: [PackageDescription.SwiftSetting] = [
.enableUpcomingFeature("ExistentialAny"),
.enableUpcomingFeature("InternalImportsByDefault"),
.enableUpcomingFeature("MemberImportVisibility"),
.enableUpcomingFeature("InferIsolatedConformances"),
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
.enableUpcomingFeature("ImmutableWeakCaptures"),
]
let package = Package(
name: "Bytes",
products: [
.library(
name: "Bytes",
targets: ["Bytes"]
),
],
dependencies: [],
targets: [
.target(
name: "Bytes",
dependencies: [],
swiftSettings: swiftSettings
),
.testTarget(
name: "BytesTests",
dependencies: ["Bytes"],
swiftSettings: swiftSettings
),
]
)