Skip to content

v1.12.0

Latest

Choose a tag to compare

@Goldziher Goldziher released this 31 Jul 08:35
eeee629

Swift Package Manager

The Swift binding is distributed as a pre-built artifact bundle. No Rust toolchain required.

Recommended — use .binaryTarget directly in your Package.swift:

.binaryTarget(
    name: "LiterLlm",
    url: "https://github.com/xberg-io/liter-llm/releases/download/v1.12.0/LiterLlm-rs.artifactbundle.zip",
    checksum: "3148c9109eff4dc9e065f7a1eb5000cea835a81a7df05ffcb56287246e3be52b"
)

Alternative — pin via tag-specific Swift package release:

.package(url: "https://github.com/xberg-io/liter-llm", from: "swift-1.12.0")

The main repository's Package.swift uses placeholder values. Swift consumers pin to a tag-specific release in the swift- namespace (e.g. from: "swift-1.12.0"), which includes the real artifact bundle checksum. Other languages continue to pin to from: "1.12.0".

Artifact bundle: LiterLlm-rs.artifactbundle.zip
Checksum: 3148c9109eff4dc9e065f7a1eb5000cea835a81a7df05ffcb56287246e3be52b

Zig

Add to your build.zig.zon:

.dependencies = .{
    .liter-llm-zig = .{\n        .url = \"https://github.com/xberg-io/liter-llm/releases/download/v1.12.0/liter-llm-zig-v1.12.0.tar.gz\",\n        .hash = \"liter_llm-1.12.0-Jfgk_EGDQiMMpKvCDsn1oaP-yxbxtbT9q0Pi0RYjM1NX\",\n    },\n},\n```\n