Skip to content

Commit

Permalink
chore(release): v0.8.1 and use serde instead of serde_derive
Browse files Browse the repository at this point in the history
  • Loading branch information
M3DZIK committed Jun 17, 2022
1 parent 0bc0059 commit 3c5507a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.8.0] - 2022-06-18
## [0.8.1] - 2022-06-18
- fix tests
- add missing doc
- use `serde` instead of `serde_derive`

## [0.8.0] - 2022-06-13
- add custom `Error` type
- move api requests to `requests/` mod
- comment code
Expand Down
3 changes: 1 addition & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "imgurs"
version = "0.8.0"
version = "0.8.1"
description = "API and CLI for Imgur"
license = "BSD-3-Clause"
readme = "README.md"
Expand All @@ -20,8 +20,6 @@ codegen-units = 1

[dependencies]
dirs = "4.0.0"
serde = "1.0.137"
serde_derive = "1.0.137"
toml = "0.5.9"
serde_json = "1.0.81"
chrono = "0.4.19"
Expand All @@ -35,6 +33,7 @@ colored = "2.0.0"
clap_mangen = "0.1.8"
discord-webhook = "0.1.0"
thiserror = "1.0.31"
serde = { version = "1.0.137", features = ["derive"] }
clap = { version = "3.2.5", features = ["derive"] }
log = { version = "0.4.17", features = ["release_max_level_info", "max_level_debug"] }
simple_logger = { version = "2.1.0", default-features = false, features = ["colors"] }
Expand Down
2 changes: 1 addition & 1 deletion src/api/image_type.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use serde_derive::{Deserialize, Serialize};
use serde::{Deserialize, Serialize};

/// Image Info Response
#[derive(Debug, Serialize, Deserialize, PartialEq, Eq, Clone)]
Expand Down
2 changes: 1 addition & 1 deletion src/api/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mod requests;
mod client;
mod error;
mod image_type;
mod requests;
mod send_api_request;

pub(crate) use client::api_url;
Expand Down
3 changes: 1 addition & 2 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use serde::Serialize;
use serde_derive::Deserialize;
use serde::{Serialize, Deserialize};

pub mod toml;

Expand Down

0 comments on commit 3c5507a

Please sign in to comment.