#debian #ubuntu #distro-info-data #parser #debian-package

distro-info

Library for parsing Debian/Ubuntu distro-info-data

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

#18 in #ubuntu

Download history 473/week @ 2026-01-04 336/week @ 2026-01-11 292/week @ 2026-01-18 284/week @ 2026-01-25 371/week @ 2026-02-01 416/week @ 2026-02-08 360/week @ 2026-02-15 382/week @ 2026-02-22 745/week @ 2026-03-01 729/week @ 2026-03-08 845/week @ 2026-03-15 787/week @ 2026-03-22 655/week @ 2026-03-29 1307/week @ 2026-04-05 554/week @ 2026-04-12 452/week @ 2026-04-19

3,096 downloads per month
Used in 10 crates (7 directly)

GPL-3.0 license

58KB
614 lines

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


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.

Dependencies

~2.5MB
~35K SLoC