alpm_types/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#![doc = include_str!("../README.md")]
#![forbid(unsafe_code)]

mod checksum;
pub use checksum::{
    Blake2b512Checksum,
    Checksum,
    Md5Checksum,
    Sha1Checksum,
    Sha224Checksum,
    Sha256Checksum,
    Sha384Checksum,
    Sha512Checksum,
};

mod source;
pub use source::Source;

mod url;
pub use url::Url;

/// Public re-exports of common hash functions, for use with [`Checksum`].
pub mod digests {
    pub use blake2::Blake2b512;
    pub use sha1::Sha1;
    pub use sha2::Sha224;
    pub use sha2::Sha256;
    pub use sha2::Sha384;
    pub use sha2::Sha512;
}

mod date;
pub use date::{BuildDate, FromOffsetDateTime};

mod env;
pub use env::BuildEnv;
pub use env::InstalledPackage;
pub use env::MakePkgOption;
pub use env::PackageOption;

mod error;
pub use error::Error;

mod license;
pub use license::License;

mod name;
pub use name::BuildTool;
pub use name::Name;

mod path;
pub use path::AbsolutePath;
pub use path::Backup;
pub use path::BuildDir;
pub use path::RelativePath;
pub use path::StartDir;

mod openpgp;
pub use openpgp::OpenPGPv4Fingerprint;
pub use openpgp::Packager;

mod pkg;
pub use pkg::PkgBase;
pub use pkg::PkgDesc;
pub use pkg::PkgType;

mod relation;
pub use relation::Group;
pub use relation::OptDepend;
pub use relation::PackageRelation;

mod size;
pub use size::CompressedSize;
pub use size::InstalledSize;

mod system;
pub use system::Architecture;

mod version;
pub use version::BuildToolVersion;
pub use version::Epoch;
pub use version::Pkgrel;
pub use version::Pkgver;
pub use version::SchemaVersion;
pub use version::Version;
pub use version::VersionComparison;
pub use version::VersionRequirement;