diff --git a/src/schema/bundle/metadata.rs b/src/schema/bundle/metadata.rs deleted file mode 100644 index a35fd40..0000000 --- a/src/schema/bundle/metadata.rs +++ /dev/null @@ -1,34 +0,0 @@ -//! 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 `metadata.json` files. -#[derive(Clone, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)] -pub struct BundleMetadata { - /// The locales included in the bundle. - /// - /// I've never seen more that a single locale here, but the specification allows that. - locales: Vec, - - /// ??? - #[serde(default = "none")] - client_hash: Option, - - /// ??? - #[serde(default = "none")] - gameplay_data_hash: Option, - - /// ??? - #[serde(default = "none")] - timestamp: Option, - - /// ??? - #[serde(default = "none")] - patchline_ref: Option, -} - - -/// Generate a [Option::None] to use as default in [serde]. -fn none() -> Option { - Option::::None -} diff --git a/src/schema/bundle/mod.rs b/src/schema/bundle/mod.rs deleted file mode 100644 index 37b96bc..0000000 --- a/src/schema/bundle/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -//! This module defines the types used in all Data Dragon bundles. - -pub mod metadata;