diff --git a/src/schema/anybundle/metadata.rs b/src/schema/bundle/metadata.rs similarity index 86% rename from src/schema/anybundle/metadata.rs rename to src/schema/bundle/metadata.rs index 3a24582..a35fd40 100644 --- a/src/schema/anybundle/metadata.rs +++ b/src/schema/bundle/metadata.rs @@ -1,6 +1,8 @@ -/// The contents of the `anybundle.json` file of a bundle. +//! This module defines [BundleMetadata]. + +/// The contents of the `metadata.json` file of a bundle. /// -/// Both Core Bundles and Set Bundles are bundles, and both have anybundle. +/// Both Core Bundles and Set Bundles are bundles, and both have `metadata.json` files. #[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)] pub struct BundleMetadata { /// The locales included in the bundle. diff --git a/src/schema/anybundle/mod.rs b/src/schema/bundle/mod.rs similarity index 58% rename from src/schema/anybundle/mod.rs rename to src/schema/bundle/mod.rs index 8fe44fb..37b96bc 100644 --- a/src/schema/anybundle/mod.rs +++ b/src/schema/bundle/mod.rs @@ -1,5 +1,3 @@ //! This module defines the types used in all Data Dragon bundles. -mod metadata; - -pub use metadata::BundleMetadata; +pub mod metadata;