4 releases

0.2.3 May 31, 2023
0.2.2 May 31, 2023
0.2.1 May 31, 2023
0.1.0 May 24, 2023

#735 in Configuration

49 downloads per month

MIT license

12KB
217 lines


                                                                                                    
                 ..:::::::..                      ..........::........::.....                       
            :!JPGBBBB###BGGGPP5YJ7!~!7?777!!7JY55PPPPGGPGPPPPPPPPPPPGGBGPPP5555YYJ7~:.              
        .!YG#&&#BB##BBBBBBGGGGGBB#BB###B#BBBBBBGGGGGGBGGGGGPPPPPPPGGGGGGBGPPPPPGPGGGGP5J!:          
      ^?G&&&##BBGGGBBBBBGGGGPGGGBP5PBBBGGBGGPPPPPPGGP5PGGPPGPPPPPPPPPGGGPPPP5PPPPPPPPGBBBG57:       
     7B######BGGGGPG  ______   _    _   ______  _______ _____  ______  _____  PGPPPG5YPGGGP!      
   .5##BBBBBGGGGPGPP | |  | \ | |  | | / |        | |    | |  | |  \ \  | |   PGGP5YJY5BPGGB7     
   !###BPPPGPGGPPPPG | |__| | | |  | | '------.   | |    | |  | |  | |  | |   PPPGYJ?YPGPPPPBG^    
   ^GB##BG5PPPPPPPPP |_|  \_\ \_|__|_|  ____|_/   |_|   _|_|_ |_|  |_| _|_|_  GPJ?JYPPGGGPPPG~    
    !5GBBBGGPPPPPGGG                                                          JJJY5PGPPPPGGGB~    
     ^?5GBGGPGPPPGGGGBBGGGBG5PGGGGGGGGGGGGBBP??Y5PGGGGGGGGGBBPYJ?JPPGGGGGGGGGP5JYY555PPP55PPGGY.    
       ^7Y5555PPGGGGGBBBBBBBBBBGGGGGGBGGGGP555PPPPPPPPPPGGPP5YJY5555555P5555YYJJJJYYYYYYY55P57      
          :^~!?JY5PPGBBBBBBBBBBBBBBGPPP55J??JJJJYYJJJYYYYYJ???7??????J????7!!7777???JJJJJY?!.       
               .:~!7?JYY5PGGGGGP55J??7!77~~~~~~~~~~^^^^:::::::::::::::........:::^^~~!~~^.          
                        ..:::::...                                                                  

Introduction

Rustini is an INI parser for RUST. You can:

  • Parse INI files into a HashMap in the INI struct
  • Write a HashMap to a file
  • Parse a block of data from a tag as Key-Value pairs
  • Set Key-Value pairs as blocks within the HashMap
  • Set/Get a String Vector from a data block

Documentation

After building this package, you can open the documentation in your browser. The easiest place to start with will be: ./target/doc/rustini/index.html

Additional Notes:

  • 'Rustini' is a play on 'Crostini' (Hence the bread-like ASCII-art)
  • Future Improvement(?): Cross compile support

No runtime deps