1 unstable release
0.1.0 | Sep 9, 2024 |
---|
#277 in Configuration
69 downloads per month
Used in telegrax
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