luci

Define and read configuration file

2 unstable releases

0.2.0 Oct 22, 2024
0.1.0 Sep 9, 2024


Used in telegrax

Apache-2.0

7KB
129 lines

luci

Define and read configuration file. Support platforms where libc is available.

Quickstart

For a quickstart, see examples. For installation from package repository, see crates.io. For API references, see doc.rs.

Test

chmod 600 tests/data/*
cargo test

lib.rs:

Define and read configuration file.

A configuration file must not be: execute by owner; read, write or execute by other users; read, write or execute by other groups. That mean a configuration file may has the following modes: 400 or 600. Other than that, reading returns Error::Insecured.

Example

Dependencies

~4.5–6.5MB
~116K SLoC