1 unstable release

0.1.0 Sep 9, 2024

#277 in Configuration

Download history 89/week @ 2024-09-05 39/week @ 2024-09-12 13/week @ 2024-09-19 9/week @ 2024-09-26 4/week @ 2024-10-03

69 downloads per month
Used in telegrax

Apache-2.0

8KB
164 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::ErrorKind::Insecured.

Dependencies

~2.7–4.5MB
~82K SLoC