~nicohman/gogapi-rs

d6f5ce7256d9094be3adb58905f23bcd7106159a — nicohman 3 years ago 88d37f3 master
Make downloader URLs optional since deprecation
2 files changed, 3 insertions(+), 3 deletions(-)

M Cargo.toml
M src/gog.rs
M Cargo.toml => Cargo.toml +1 -1
@@ 1,6 1,6 @@
[package]
name = "gog"
version = "0.3.4"
version = "0.4.0"
authors = ["nicohman <nicohman@demenses.net>"]
repository = "https://git.sr.ht/~nicohman/gogapi-rs"
description = "A crate to use the GOG web api"

M src/gog.rs => src/gog.rs +2 -2
@@ 571,7 571,7 @@ pub struct WorksOn {
#[serde(rename_all = "camelCase")]
pub struct Extra {
    pub manual_url: String,
    pub downloader_url: String,
    pub downloader_url: Option<String>,
    pub name: String,
    #[serde(rename = "type")]
    pub type_e: String,


@@ 598,7 598,7 @@ pub struct Downloads {
#[serde(rename_all = "camelCase")]
pub struct Download {
    pub manual_url: String,
    pub downloader_url: String,
    pub downloader_url: Option<String>,
    pub name: String,
    pub version: Option<String>,
    pub date: String,