All formats

CBR libraries for C/C++

Two libraries read RAR in C and C++; neither writes it (no open-source code can):

Some programs ship both: SumatraPDF, for example, opens RAR with UnRAR and other archives with libarchive. Parse ComicInfo.xml with any XML library; the examples use pugixml.