Fixed website not being nullable, added static version of urls

master
Aaron Power 7 years ago
parent d36c861c19
commit 1fb3d16843
  1. 2
      Cargo.toml
  2. 2
      src/entities/account.rs
  3. 2
      src/entities/status.rs

@ -1,6 +1,6 @@
[package]
name = "mammut"
version = "0.5.1"
version = "0.5.2"
description = "A wrapper around the Mastodon API."
authors = ["Aaron Power <theaaronepower@gmail.com>"]
license = "MIT/Apache-2.0"

@ -8,7 +8,9 @@ pub struct Account {
pub note: String,
pub url: String,
pub avatar: String,
pub avatar_static: String,
pub header: String,
pub header_static: String,
pub locked: bool,
pub created_at: DateTime<UTC>,
pub followers_count: u64,

@ -43,5 +43,5 @@ pub struct Tag {
#[derive(Debug, Clone, Deserialize)]
pub struct Application {
pub name: String,
pub website: String,
pub website: Option<String>,
}

Loading…
Cancel
Save