Expand description
§alpm-types
Types for Arch Linux Package Management.
The provided types and the traits they implement can be used in package management related applications (e.g. package manager, repository manager, special purpose parsers and file specifications, etc.) which deal with libalpm based packages.
This library strives to provide all underlying types for writing ALPM based software as a leaf-crate, so that they can be shared across applications and none of them has to implement them itself.
§Documentation
- https://alpm.archlinux.page/rustdoc/alpm_types/ for development version of the crate
- https://docs.rs/alpm-types/latest/alpm_types/ for released versions of the crate
§Contributing
Please refer to the contribution guidelines to learn how to contribute to this project.
§License
This project can be used under the terms of the Apache-2.0 or MIT. Contributions to this project, unless noted otherwise, are automatically licensed under the terms of both of those licenses.
Modules§
- checksum 🔒
- date 🔒
- Public re-exports of common hash functions, for use with
Checksum
. - env 🔒
- error 🔒
- license 🔒
- name 🔒
- openpgp 🔒
- path 🔒
- pkg 🔒
- relation 🔒
- Public re-exports for use with
SchemaVersion
. - size 🔒
- source 🔒
- system 🔒
- url 🔒
- version 🔒
Structs§
- A representation of an absolute path
- A build tool name
- The version and architecture of a build tool
- A checksum using a supported algorithm
- An epoch of a package
- Extra data associated with a package
- Information on an installed package in an environment
- An option string
- A package name
- An OpenPGP Key ID.
- An OpenPGP v4 fingerprint.
- An optional dependency for a package.
- A package relation
- The release version of a package.
- A pkgver of a package
- A packager of a package
- A representation of a relative file path
- The schema version of a type
- A shared object name.
- The value of a shared object’s soname.
- Representation of soname data of a shared object based on the alpm-sonamev2 specification.
- A URL for package sources.
- Represents a URL.
- A version of a package
- A version requirement, e.g. for a dependency package.
Enums§
- CPU architecture
- ELF architecture format.
- The library’s error type
- Represents a license expression that can be either a valid SPDX identifier or a non-standard one.
- An OpenPGP key identifier.
- The type of a package
- A
Checksum
that may be skipped. - Representation of soname data of a shared object based on the alpm-sonamev1 specification.
- Represents the location that a source file should be retrieved from
- Specifies the comparison function for a
VersionRequirement
. - Provides either a
PackageVersion
or aSharedObjectName
.
Traits§
- Convenience wrapper trait covering functionality of cryptographic hash functions with fixed output size.
- A trait for allowing conversion from an [
OffsetDateTime
] to a type.
Type Aliases§
- The path of a packaged file that should be preserved during package operations
- A checksum using the Blake2b512 algorithm
- A build date in seconds since the epoch
- An absolute path used as build directory
- An option string used in a build environment
- The relative path to a changelog file that may be included in a package
- Compressed size of a file (in bytes)
- Group of a package
- A special install script that is to be included in the package
- Installed size of a package (in bytes)
- A checksum using the Md5 algorithm
- Name of the base package information that one or more packages are built from.
- Description of a package
- An option string used in packaging
- A checksum using the Sha1 algorithm
- A checksum using the Sha224 algorithm
- A checksum using the Sha256 algorithm
- A checksum using the Sha384 algorithm
- A checksum using the Sha512 algorithm
- A prefix associated with a library lookup directory.
- An absolute path used as start directory in a package build environment