Crate libset

Source
Expand description

§Libset

Libset is a versatile library designed to simplify the storage, management, and retrieval of configuration files. It provides seamless support for various file formats, allowing you to effortlessly handle your configuration needs.

Managing configuration files often involves repetitive tasks such as file handling, reading, writing, error handling, and serialization/deserialization. This complexity increases significantly when supporting multiple file formats. Libset alleviates these challenges by offering a user-friendly API, freeing you to concentrate on more important aspects of your project.

§Design

Libset is engineered to seamlessly support a range of file formats, including:

  • JSON - JavaScript Object Notation
  • TOML - Tom’s Obvious Minimal Language
  • RON - Rusty Object Notation

§Features

By default, Libset enables JSON format support. Additional formats can be activated using feature flags:

  • json - Seamlessly interact with JSON files.
  • toml - Effortlessly modify TOML files.
  • ron - Easily retreive RON files.

§Additional Benefits

In addition to its robust file format support and user-friendly interface, Libset offers:

  • Performance: Optimized for efficiency, ensuring swift processing of configuration operations.
  • Cross-Platform Compatibility: Works seamlessly across different operating systems, enhancing flexibility in deployment.
  • Documentation: Comprehensive documentation and examples make integration and usage straightforward for developers of all levels.

Structs§

Config
Represents a configuration object.

Enums§

Error
Custom error type for the library.
FileType