| Crates.io | utils-box-config |
| lib.rs | utils-box-config |
| version | 1.0.1 |
| created_at | 2025-11-03 07:09:25.284554+00 |
| updated_at | 2025-11-03 07:09:25.284554+00 |
| description | A toolbox of various small RUST utilities that make handling configuration files easier |
| homepage | |
| repository | https://github.com/klispap/utils-box |
| max_upload_size | |
| id | 1914061 |
| size | 39,979 |
A toolbox library that holds a useful collection of small unitilies written in Rust that make our life easier when writting Rust applications.
Manipulate INI-style configuration files by checking for changes, updates etc
Mininal Example:
let mut config_changes = ini_compare(
&old_config_path.to_path_buf(),
&new_config_path.to_path_buf(),
)
.unwrap();
println!("{:#?}", config_changes);
Make sure you have the following system-level dependencies installed:
sudo apt install pkg-config build-essential fontconfig libfontconfig1-dev
Verify that pkg-config can detect libstdc++ properly:
pkg-config --libs libstdc++
If libstdc++ is not detected, add the symbolic link:
sudo ln -s /usr/lib/gcc/x86_64-linux-gnu/11/libstdc++.so /usr/lib/libstdc++.so