Crate app_properties
source ·Expand description
app_properties
A Rust library for reading application properties from a file. The properties file, named ‘app.properties’, must be placed in the same folder as the binary that uses it and follows the YAML pattern.
Properties file example:
server: localhost
port: 8080
Using the lib:
let properties: AppProperties = AppProperties::new();
let server = properties.get("server");
let port = properties.get("port");