diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..f2636e9 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,23 @@ +{ + "pins" : [ + { + "identity" : "swift-docc-plugin", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-docc-plugin", + "state" : { + "revision" : "85e4bb4e1cd62cec64a4b8e769dcefdf0c5b9d64", + "version" : "1.4.3" + } + }, + { + "identity" : "swift-docc-symbolkit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/swiftlang/swift-docc-symbolkit", + "state" : { + "revision" : "b45d1f2ed151d057b54504d653e0da5552844e34", + "version" : "1.0.0" + } + } + ], + "version" : 2 +} diff --git a/Package.swift b/Package.swift index 7a0057d..f1aa26e 100644 --- a/Package.swift +++ b/Package.swift @@ -18,6 +18,7 @@ let package = Package( dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: /* package url */, from: "1.0.0"), + .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"), ], targets: [ // Targets are the basic building blocks of a package. A target can define a module or a test suite. diff --git a/README.md b/README.md index 75ef61d..1db89cb 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,12 @@ UInt128/Int128. This library includes Swift Package support out of the box. Reference this git repository via XCode to install as a Package. + - Warning: This interface uses different initializers than earlier versions. + You can also manually copy over the `Sources/(U)Int128.swift` files into your project and it should work great. This file split duplicates Apple's UInt128 and Int128 -files. Note: Some common utilities are located in the Int128.swift file. +files. Note: Some common utilities are located in the `Common.swift` file which +you'll also need if copying to your project. ## Documentation diff --git a/Sources/UInt128/UInt128.docc/UInt128.md b/Sources/UInt128/UInt128.docc/UInt128.md index f8e4704..177b025 100644 --- a/Sources/UInt128/UInt128.docc/UInt128.md +++ b/Sources/UInt128/UInt128.docc/UInt128.md @@ -42,6 +42,8 @@ These integer types are compliant with the following protocols: 11. Sendable 12. Codable +This package has passed the XCode 6 strict concurrency requirements. + ### Usage Since this library fully implements the UnsignedInteger or SignedInteger protocols, you can use these data types just like any other native integer data type. For numbers larger