soar-package 0.3.1

Package format handling for soar package manager
Documentation
//! Traits for package operations.

/// Trait for types that represent package metadata.
///
/// This trait provides access to basic package information needed for
/// integration operations like desktop file creation and symlink management.
pub trait PackageExt {
    /// Returns the package name (human-readable name).
    fn pkg_name(&self) -> &str;

    /// Returns the unique package identifier.
    fn pkg_id(&self) -> &str;

    /// Returns the package version string.
    fn version(&self) -> &str;

    /// Returns the repository name this package belongs to.
    fn repo_name(&self) -> &str;
}