swift-tomldecoder 0.4.5Latest published 2.9mo ago
MODULE.bazel
bazel_dep(name = "swift-tomldecoder", version = "0.4.5")
README

TOMLDecoder

A fast, Swift-native, minimal dependency library that fully implements TOML spec 1.1.0.

struct Team: Codable {
    struct Player: Codable {
        let id: String
        let health: Int
        let joinDate: Date
    }

    let players: [Player]
}

let team = try TOMLDecoder().decode(Team.self, from: tomlData)

Read the documentation to get started.

License

MIT. See LICENSE.md.

About

From TOML to Swift Codable types.

@dduan/TOMLDecoder@dduan
Homepage
109stars
Saturday, July 11, 2026
@dduan#9645 swift-tomldecoder@0.4.5 (#9645)

Languages

Python10.5%
Shell3.7%
Starlark0.4%
C++0.2%
C0.1%
Makefile0.1%

Maintainers

@dduan

Versions

0.4.5 +3.6mo2026-07-11
0.4.4 +2.7mo2026-03-24
0.4.3 +16d2026-01-01
0.4.12025-12-16