mirror of https://github.com/MedzikUser/imgurs
fix(test): disable run get album info test
This commit is contained in:
parent
ecb5855e75
commit
2ac3424338
|
@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
<!-- next-header -->
|
<!-- next-header -->
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
- moved cli to other crate
|
||||||
|
- added get_album function
|
||||||
|
|
||||||
## [0.8.1] - 2022-06-18
|
## [0.8.1] - 2022-06-18
|
||||||
- fix tests
|
- fix tests
|
||||||
|
|
|
@ -851,7 +851,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "imgurs"
|
name = "imgurs"
|
||||||
version = "0.8.1"
|
version = "0.9.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"base64",
|
"base64",
|
||||||
"notify-rust",
|
"notify-rust",
|
||||||
|
@ -865,7 +865,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "imgurs-cli"
|
name = "imgurs-cli"
|
||||||
version = "0.8.1"
|
version = "0.9.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"arboard",
|
"arboard",
|
||||||
|
|
|
@ -4,7 +4,7 @@ resolver = "2"
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "imgurs"
|
name = "imgurs"
|
||||||
version = "0.8.1"
|
version = "0.9.0"
|
||||||
description = "API for Imgur"
|
description = "API for Imgur"
|
||||||
license = "BSD-3-Clause"
|
license = "BSD-3-Clause"
|
||||||
authors = ["MedzikUser <nivua1fn@duck.com>"]
|
authors = ["MedzikUser <nivua1fn@duck.com>"]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "imgurs-cli"
|
name = "imgurs-cli"
|
||||||
version = "0.8.1"
|
version = "0.9.0"
|
||||||
description = "CLI for Imgur"
|
description = "CLI for Imgur"
|
||||||
license = "BSD-3-Clause"
|
license = "BSD-3-Clause"
|
||||||
authors = ["MedzikUser <nivua1fn@duck.com>"]
|
authors = ["MedzikUser <nivua1fn@duck.com>"]
|
||||||
|
|
|
@ -101,14 +101,14 @@ impl ImgurClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get album info from a Imgur
|
/// Get album info from a Imgur
|
||||||
/// ```
|
/// ```no_run
|
||||||
/// use imgurs::ImgurClient;
|
/// use imgurs::ImgurClient;
|
||||||
///
|
///
|
||||||
/// #[tokio::main]
|
/// #[tokio::main]
|
||||||
/// async fn main() {
|
/// async fn main() {
|
||||||
/// let client = ImgurClient::new("3e3ce0d7ac14d56");
|
/// let client = ImgurClient::new("3e3ce0d7ac14d56");
|
||||||
///
|
///
|
||||||
/// client.album_info("lFaGr1x").await.expect("delete album");
|
/// client.album_info("id").await.expect("get album info");
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
pub async fn album_info(&self, id: &str) -> Result<AlbumInfo> {
|
pub async fn album_info(&self, id: &str) -> Result<AlbumInfo> {
|
||||||
|
|
Loading…
Reference in New Issue