Fixed website not being nullable, added static version of urls

This commit is contained in:
Aaron Power
2017-04-23 00:30:56 +01:00
parent d36c861c19
commit 1fb3d16843
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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"
+2
View File
@@ -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,
+1 -1
View File
@@ -43,5 +43,5 @@ pub struct Tag {
#[derive(Debug, Clone, Deserialize)]
pub struct Application {
pub name: String,
pub website: String,
pub website: Option<String>,
}