awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
BurntSushi avatar

BurntSushi/toml

0
View on GitHub↗
4,904 stars·541 forks·Go·mit·15 views

Toml

This is a TOML parser and serializer for the Go language. It serves as a data serialization library and configuration file mapper that encodes and decodes data between Go structures and the TOML configuration format.

The library provides interfaces for custom type marshaling, allowing for specialized logic when parsing or serializing specific data types. It transforms structured objects into deterministic TOML documents for storage or transmission.

The project covers a broad range of data processing capabilities, including structured value encoding, TOML data generation, and metadata inspection to track unmapped keys or verify data types.

Features

  • TOML Parsers - Converts TOML-formatted text or files into structured Go objects using reflection.
  • TOML Serializers and Parsers - Provides a complete implementation for encoding and decoding data between Go structures and the TOML format.
  • Data Serialization and Parsing - Provides full-cycle conversion between complex data objects and TOML formatted text.
  • TOML Serializers - Encodes structured Go data objects into the TOML text format for storage or transmission.
  • Data Serialization Libraries - A comprehensive library for parsing, encoding, and manipulating structured TOML data.
  • Structured Object Mappings - Transforms Go objects and maps into formatted TOML documents with deterministic sorting.
  • Application Configuration Management - Facilitates the management of application settings using the human-readable TOML format.
  • Configuration Mappers - Binds TOML configuration data to strongly-typed Go objects using reflection and tags.
  • Configuration Field Population - Uses reflection and struct tags to dynamically inject TOML values into Go struct fields.
  • Custom Data Types - Allows for specialized mapping of TOML values into custom data types using reflection.
  • Interface-Based Marshaling - Allows types to define their own serialization logic via standard marshaler interfaces.
  • Custom Serialization Interfaces - Provides an interface for defining specialized logic to parse or serialize specific data types within TOML files.
  • Format Metadata Inspection - Provides tools to check existing keys, identify types, and track unmapped keys during decoding.
  • Application Configuration Inspection - Analyzes TOML files to detect unknown keys and verify data types before mapping them to variables.
  • Custom Type Decoders - Provides interfaces for implementing specialized deserialization logic for custom data types.
  • Strict Object Validation - Rejects unknown keys and verifies that decoded values match the expected Go types.
  • Type-Specific Serialization - Enables custom encoding and decoding logic for specific types using marshaler and unmarshaler interfaces.
  • Configuration Management - TOML parsing and encoding library.
  • Text Processing - TOML encoding and decoding with reflection support.

Star history

Star history chart for burntsushi/tomlStar history chart for burntsushi/toml

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Toml

Similar open-source projects, ranked by how many features they share with Toml.
  • msgspec/msgspecmsgspec avatar

    msgspec/msgspec

    3,821View on GitHub↗

    msgspec is a high-performance data modeling, serialization, and schema validation toolkit for Python. It serves as a type-safe serialization framework that integrates schema enforcement and data parsing into a single pass, functioning as both a data serialization library and a schema validation system based on standard Python type annotations. The project distinguishes itself through high-performance structural primitives, including compilation-based routine generation and zero-copy buffer parsing. It optimizes memory usage via garbage collection-aware layouts and reduces processing overhead

    Pythondeserializationjsonjson-schema
    View on GitHub↗3,821
  • alecthomas/kongalecthomas avatar

    alecthomas/kong

    2,976View on GitHub↗

    Kong is a declarative command line interface framework and parser for Go. It maps flags and positional arguments directly into typed Go structures using struct tags, allowing developers to define terminal interfaces through data models rather than manual parsing logic. The project functions as a configuration mapper that populates Go structures from a combination of command-line arguments, environment variables, and JSON files. It distinguishes itself by providing a dependency injection container to pass external services into command handlers and a plugin architecture for dynamic command reg

    Gocommand-linecommandsflags
    View on GitHub↗2,976
  • kelseyhightower/envconfigkelseyhightower avatar

    kelseyhightower/envconfig

    5,404View on GitHub↗

    envconfig is a Go configuration decoder and environment variable mapper that deserializes environment variables into structured Go data types. It provides tools for validating mandatory fields and ensuring application configuration adheres to the external configuration patterns of twelve-factor app compliance. The library features a help generator that creates formatted usage text based on struct definitions to describe expected environment variables. It also includes a validation tool capable of detecting unused environment variables that match a specific prefix but do not correspond to any

    Go
    View on GitHub↗5,404
  • go-yaml/yamlgo-yaml avatar

    go-yaml/yaml

    7,023View on GitHub↗

    This library is a YAML encoder and decoder for native Go data structures. It provides the tools necessary to transform internal data into YAML formatted text and convert YAML input streams back into structured data. The parser includes built-in protections against resource exhaustion attacks by enforcing limits on document depth and alias resolution. It also ensures deterministic output by employing consistent key sorting for maps. The project covers serialization and deserialization workflows, including struct mapping and custom marshaling interfaces. It also handles input encoding detectio

    Go
    View on GitHub↗7,023
See all 30 alternatives to Toml→

Frequently asked questions

What does burntsushi/toml do?

This is a TOML parser and serializer for the Go language. It serves as a data serialization library and configuration file mapper that encodes and decodes data between Go structures and the TOML configuration format.

What are the main features of burntsushi/toml?

The main features of burntsushi/toml are: TOML Parsers, TOML Serializers and Parsers, Data Serialization and Parsing, TOML Serializers, Data Serialization Libraries, Structured Object Mappings, Application Configuration Management, Configuration Mappers.

What are some open-source alternatives to burntsushi/toml?

Open-source alternatives to burntsushi/toml include: msgspec/msgspec — msgspec is a high-performance data modeling, serialization, and schema validation toolkit for Python. It serves as a… alecthomas/kong — Kong is a declarative command line interface framework and parser for Go. It maps flags and positional arguments… kelseyhightower/envconfig — envconfig is a Go configuration decoder and environment variable mapper that deserializes environment variables into… go-yaml/yaml — This library is a YAML encoder and decoder for native Go data structures. It provides the tools necessary to transform… facebookresearch/hydra — Hydra is a hierarchical configuration framework and type-safe configuration manager. It is designed to manage complex… spf13/viper — Viper is a configuration management library designed to centralize application settings from diverse sources into a…