//! Reusable Debian format primitives. //! //! These components are independent from any build orchestration and can be //! used by any pkh submodule (or external consumers of the library): //! //! - [`arch`]: Debian architecture tables and lookups (dpkg-architecture) //! - [`control`]: deb822 paragraph parsing/writing and `debian/control` //! - [`checksums`]: file checksum registry (`Dpkg::Checksums` equivalent) //! - [`deps`]: dependency grammar and evaluation (dpkg-checkbuilddeps) //! - [`files`]: `debian/files` artifact registry (`Dpkg::Dist::Files`) //! - [`version`]: Debian version splitting/validation/comparison //! - [`changelog`]: `debian/changelog` entry parsing pub mod arch; pub mod changelog; pub mod checksums; pub mod control; pub mod deps; pub mod files; pub mod version; pub use changelog::{ ChangelogEntry, parse_changelog_entries, parse_changelog_entries_from_str, parse_changelog_entry, parse_changelog_entry_from_str, }; pub use checksums::{ChecksumKind, Entry as ChecksumEntry, FileChecksums}; pub use control::{ ControlInfo, Paragraph, parse_paragraphs, strip_clearsigned_armour, write_paragraph, }; pub use files::{FilesEntry, FilesList}; pub use version::DebianVersion;