|0.1.0||Feb 3, 2023|
|0.0.4||Feb 3, 2023|
|0.0.2||Jun 25, 2019|
|0.0.1||Jun 14, 2019|
1,722 downloads per month
Used in 4 crates
A simple Rust library to handle configuration fragments.
This crate provides helpers to scan configuration fragments on disk. The goal is to help in writing Linux services which are shipped as part of a Reproducible OS. Its name derives from overlays and dropins (base directories and configuration fragments).
The main entrypoint is
scan. It scans
for configuration fragments across multiple directories (with increasing priority),
following these rules:
- fragments are identified by unique filenames, lexicographically (e.g.
- in case of name duplication, last directory wins (e.g.
- a fragment symlinked to
/dev/nullis used to ignore any previous fragment with the same filename.
Licensed under either of
- MIT license - http://opensource.org/licenses/MIT
- Apache License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0
at your option.