utils-box-config 1.0.1

A toolbox of various small RUST utilities that make handling configuration files easier
Documentation

Coverage Status

Summary

A toolbox library that holds a useful collection of small unitilies written in Rust that make our life easier when writting Rust applications.

Utilities provided:

Config

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);

Tips for resolving Ubuntu 22.04/24.04 build issues:

  1. Make sure you have the following system-level dependencies installed:

    sudo apt install pkg-config build-essential fontconfig libfontconfig1-dev
    
  2. Verify that pkg-config can detect libstdc++ properly:

    pkg-config --libs libstdc++
    
  3. 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