Contents

googleapis/swift-google-wkt-convert

Conversions between GoogleWKT types and SwiftProtobuf Well-Known Types.

Overview

GoogleWKTConvert provides bidirectional conversions between GoogleWKT types (WKTTimestamp, WKTDuration, WKTFieldMask, WKTEmpty, and WKTAny) and their corresponding SwiftProtobuf representations.

This package is separated from swift-google-wkt so that HTTP/REST client libraries depending only on GoogleWKT do not pull swift-protobuf into their Swift Package Manager dependency graph.

Requirements

For the minimum supported Swift version and platform requirements, see the Requirements section in the google-cloud-swift repository.

Installation

Add swift-google-wkt-convert as a package dependency:

swift package add-dependency https://github.com/googleapis/swift-google-wkt-convert.git --from 0.3.0

Then add GoogleWKTConvert to your target's dependencies:

swift package add-target-dependency GoogleWKTConvert <target-name> --package swift-google-wkt-convert

Contributing

Contributions to this library are always welcome and highly encouraged.

All development, issues, and pull requests are managed in the google-cloud-swift monorepo. See CONTRIBUTING.md for details on getting started.

License

Apache 2.0 - See LICENSE for more information.

Package Metadata

Repository: googleapis/swift-google-wkt-convert

Default branch: main

README: README.md