2 unstable releases

0.2.0 Oct 22, 2024
0.1.0 Sep 9, 2024

#310 in Configuration

Download history 105/week @ 2024-09-07 27/week @ 2024-09-14 11/week @ 2024-09-21 9/week @ 2024-09-28 2/week @ 2024-10-05 5/week @ 2024-10-12 136/week @ 2024-10-19 13/week @ 2024-10-26

157 downloads per month
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
~115K SLoC