7 unstable releases

0.4.0 Jun 19, 2023
0.3.0 Jun 24, 2018
0.2.0 Jun 24, 2018
0.1.3 Jun 23, 2018

#735 in Unix APIs

Download history 667/week @ 2024-07-22 1901/week @ 2024-07-29 1705/week @ 2024-08-05 1492/week @ 2024-08-12 1173/week @ 2024-08-19 1713/week @ 2024-08-26 1607/week @ 2024-09-02 1763/week @ 2024-09-09 735/week @ 2024-09-16 1886/week @ 2024-09-23 1166/week @ 2024-09-30 804/week @ 2024-10-07 1001/week @ 2024-10-14 614/week @ 2024-10-21 732/week @ 2024-10-28 471/week @ 2024-11-04

2,843 downloads per month
Used in 8 crates (5 directly)

GPL-3.0 license

58KB
614 lines

distro-info-rs

A Rust library to parse Debian/Ubuntu distro-info-data, aiming to replicate the functionality of the C implementation in the distro-info package in Debian/Ubuntu.

Installation

With a working installation of cargo, run cargo install ubuntu-distro-info, then:

ubuntu-distro-info --help

Changelog Generation

Note that the clog-cli at https://github.com/OddBloke/clog-cli should be used for generating changelogs, pending acceptance of some changes upstream.


lib.rs:

Parse Debian and Ubuntu distro-info-data files and provide them as easy-to-consume Rust data structures.

Use UbuntuDistroInfo to access the Ubuntu data. (The Debian implementation has yet to happen.)

Dependencies

~3MB
~38K SLoC