| Crates.io | kivi |
| lib.rs | kivi |
| version | 1.2.2 |
| created_at | 2024-11-21 16:54:24.712016+00 |
| updated_at | 2025-09-09 14:43:48.039721+00 |
| description | Key-value pair with key and value in separate lines |
| homepage | |
| repository | https://github.com/EngosSoftware/kivi.git |
| max_upload_size | |
| id | 1456406 |
| size | 50,988 |
Key-value pair with key and value in separate lines
KIVI format deserializer.
KIVI is a text format where each key and its corresponding value are stored on separate lines. While not as widely known as formats like JSON or INI, it is straightforward and especially useful in contexts where keys or values span multiple lines.
Example of a configuration file written in KIVI format:
host
127.0.0.1
port
54321
timeout
12ms
host, port and timeout are keys, 127.0.0.1, 54321, 12ms are values.
In KIVI format, keys and values may span multiple lines.
Multi-line keys or values must be enclosed in quotation markers.
The default quotation marker is the quotation mark " (U+0022).
Example configuration file with multi-line keys and values is shown below:
host
127.0.0.1
port
54321
timeout
12ms
"General
description"
"This configuration file
should be placed in the same
directory where the server's
binary is placed"
Licensed under either of
at your option.
Any contributions to kivi are greatly appreciated. All contributions intentionally submitted for inclusion in the work by you, shall be dual licensed as above, without any additional terms or conditions.
Brought to you with 💙 by Engos Software