1#[macro_use]
6pub mod test;
7
8mod build;
9mod errors;
10mod meta_contents;
11mod meta_package;
12mod meta_subpackages;
13mod package;
14mod package_archive;
15mod package_build_manifest;
16mod package_builder;
17pub mod package_directory;
18mod package_manifest;
19mod package_manifest_list;
20mod path;
21mod path_to_string;
22mod subpackages_build_manifest;
23
24pub use crate::errors::{
25 BuildError, MetaContentsError, MetaPackageError, MetaSubpackagesError,
26 PackageBuildManifestError, PackageManifestError, ParsePackagePathError,
27};
28pub use crate::meta_contents::MetaContents;
29pub use crate::meta_package::MetaPackage;
30pub use crate::meta_subpackages::MetaSubpackages;
31pub use crate::package_archive::PackageArchiveBuilder;
32pub use crate::package_build_manifest::PackageBuildManifest;
33pub use crate::package_builder::{PackageBuilder, ABI_REVISION_FILE_PATH};
34pub use crate::package_directory::{
35 LoadAbiRevisionError, LoadMetaContentsError, PackageDirectory, ReadHashError,
36};
37pub use crate::package_manifest::{
38 BlobInfo, PackageManifest, PackageManifestBuilder, RelativeTo, SubpackageInfo,
39};
40pub use crate::package_manifest_list::PackageManifestList;
41pub use crate::path::{PackageName, PackagePath, PackageVariant};
42pub use crate::subpackages_build_manifest::{
43 SubpackagesBuildManifest, SubpackagesBuildManifestEntry, SubpackagesBuildManifestEntryKind,
44};
45pub use fuchsia_url::errors::PackagePathSegmentError;
46pub use path_to_string::PathToStringExt;
47
48pub(crate) use crate::package::{BlobEntry, Package, SubpackageEntry};