kivi

Crates.iokivi
lib.rskivi
version1.2.2
created_at2024-11-21 16:54:24.712016+00
updated_at2025-09-09 14:43:48.039721+00
descriptionKey-value pair with key and value in separate lines
homepage
repositoryhttps://github.com/EngosSoftware/kivi.git
max_upload_size
id1456406
size50,988
core (github:engossoftware:core)

documentation

https://docs.rs/kivi

README

kivi

Crates.io Code coverage build Linux build Windows build MacOs build MacOs arm64 MIT licensed Apache 2.0 licensed Contributor Covenant Made by Human

Key-value pair with key and value in separate lines

Overview

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" 

License

Licensed under either of

at your option.

Contribution

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

Commit count: 0

cargo fmt