| Crates.io | libconfig |
| lib.rs | libconfig |
| version | 0.1.3 |
| created_at | 2017-01-26 00:08:34.839327+00 |
| updated_at | 2017-01-26 00:08:34.839327+00 |
| description | A library to parse and load configuration files |
| homepage | https://github.com/filipegoncalves/rust-config |
| repository | https://github.com/filipegoncalves/rust-config |
| max_upload_size | |
| id | 8225 |
| size | 207,945 |
A Rust library to read and parse configuration files.
The idea is to make it very similar to libconfig, with a few extra additions / tweaks.
This is still under heavy development. As of this writing, the library is still very basic and can only read / load a configuration. It also includes a rudimentary set of methods to browse the loaded data.
As of 0.1.0, the library is compatible with both nightly and beta channels.
config is on crates.io. It can be included in a project using Cargo by adding this to Cargo.toml:
[dependencies]
config = "~0.1.0"
Updated documentation can be found here. The documentation includes small sample use cases, and a full specification of the input format.
Another good example can be found in the integration tests directory (tests/).
#include support to include other configuration fileshex and hex64 literals support?Contributions will be greatly appreciated. Feel free to reach out on Gitter or IRC. I'm Fill on irc.mozilla.org. You can find me on #rust and #rust-config.
I am relatively new to Rust, and as such, there is probably a lot of room for improvement on the library design and code quality. I started this project to learn the language. So, feel free to fix anything that you think may be wrong.