mirror of
https://github.com/MedzikUser/imgurs
synced 2024-08-15 00:03:19 +00:00
fix(test): disable run get album info test
This commit is contained in:
parent
ecb5855e75
commit
2ac3424338
5 changed files with 8 additions and 6 deletions
|
@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||
<!-- next-header -->
|
||||
|
||||
## [Unreleased]
|
||||
- moved cli to other crate
|
||||
- added get_album function
|
||||
|
||||
## [0.8.1] - 2022-06-18
|
||||
- fix tests
|
||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -851,7 +851,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "imgurs"
|
||||
version = "0.8.1"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"base64",
|
||||
"notify-rust",
|
||||
|
@ -865,7 +865,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "imgurs-cli"
|
||||
version = "0.8.1"
|
||||
version = "0.9.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"arboard",
|
||||
|
|
|
@ -4,7 +4,7 @@ resolver = "2"
|
|||
|
||||
[package]
|
||||
name = "imgurs"
|
||||
version = "0.8.1"
|
||||
version = "0.9.0"
|
||||
description = "API for Imgur"
|
||||
license = "BSD-3-Clause"
|
||||
authors = ["MedzikUser <nivua1fn@duck.com>"]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "imgurs-cli"
|
||||
version = "0.8.1"
|
||||
version = "0.9.0"
|
||||
description = "CLI for Imgur"
|
||||
license = "BSD-3-Clause"
|
||||
authors = ["MedzikUser <nivua1fn@duck.com>"]
|
||||
|
|
|
@ -101,14 +101,14 @@ impl ImgurClient {
|
|||
}
|
||||
|
||||
/// Get album info from a Imgur
|
||||
/// ```
|
||||
/// ```no_run
|
||||
/// use imgurs::ImgurClient;
|
||||
///
|
||||
/// #[tokio::main]
|
||||
/// async fn main() {
|
||||
/// 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> {
|
||||
|
|
Loading…
Reference in a new issue