forked from swift-server/swift-webauthn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
44 lines (42 loc) · 1.37 KB
/
Package.swift
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
// swift-tools-version:5.6
//===----------------------------------------------------------------------===//
//
// This source file is part of the WebAuthn Swift open source project
//
// Copyright (c) 2022 the WebAuthn Swift project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of WebAuthn Swift project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//
import PackageDescription
let package = Package(
name: "webauthn-swift",
platforms: [
.macOS(.v12)
],
products: [
.library(name: "WebAuthn", targets: ["WebAuthn"]),
],
dependencies: [
.package(url: "https://github.com/unrelentingtech/SwiftCBOR.git", from: "0.4.5"),
.package(url: "https://github.com/apple/swift-crypto.git", from: "2.0.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
],
targets: [
.target(
name: "WebAuthn",
dependencies: [
"SwiftCBOR",
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "Logging", package: "swift-log"),
]
),
.testTarget(name: "WebAuthnTests", dependencies: [
.target(name: "WebAuthn"),
])
]
)