This repository has been archived by the owner on Oct 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Package
mattt edited this page Oct 22, 2020
·
2 revisions
Information about a Swift package as provided by its manifest.
public struct Package: Equatable
Use JSONDecoder
to decode a Package
value
from the output of running swift package dump-package
in a directory containing a valid Package.swift
manifest.
Decodable
, Equatable
public init(from decoder: Decoder) throws
The name of the package.
let name: String
The products provided by the package.
let products: [Product]
The dependencies used by the package.
let dependencies: [Dependency]
The targets defined in the package.
let targets: [Target]
The platforms supported by the package.
let platforms: [SupportedPlatform]
The name used for C modules.
let cModuleName: String?
The C programming language standard used by the package.
let cLanguageStandard: String?
The C++ programming language standard used by the package.
let cxxLanguageStandard: String?
Declares the minimum version of Swift required to build this package.
let toolsVersion: String
Generated at 2020-10-22T15:50:25+0000 using swift-doc 1.0.0-beta.5.