Swiftpack.co -  spevans/swift-integer128 as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
spevans/swift-integer128
Int128 and UInt128 for Swift
.package(url: "https://github.com/spevans/swift-integer128.git", from: "0.0.2")

Integer128

Implementation of Int128 and UInt128 for Swift.

macOS Linux

Requires Swift 5.1, all platforms supported.

Current version 0.0.2

Adding Integer128 as a Dependency

To use the Integer128 library in a SwiftPM project, add the following line to the dependencies in your Package.swift file:

.package(url: "https://github.com/spevans/swift-integer128", .branch("main")),

Then include "Integer128" as a dependency for your executable target:

.product(name: "Integer128", package: "swift-integer128")
let package = Package(
    name: "int128test",
    products: [
        // Products define the executables and libraries produced by a package, and make them visible to other packages.
        .library(name: "Int128Lib", targets: ["Int128Lib"]),
        .executable(
            name: "int128test",
            targets: ["int128test"]),
    ],
    dependencies: [
        .package(url: "https://github.com/spevans/swift-integer128", .branch("main")),

    ],
    targets: [
        .target(
            name: "int128test",
            dependencies: [ "Int128Lib"]),
        .target(
            name: "Int128Lib",
            dependencies: [.product(name: "Integer128", package: "swift-integer128")]),
    ]
)

Copyright (c) 2019 - 2020 Simon Evans.

GitHub

link
Stars: 3
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API