Skip to content

Commit

Permalink
Publish to crate.io (#3)
Browse files Browse the repository at this point in the history
* chore: Update dependencies and configuration files

* chore: Add linguist attributes for markdown and yaml files

* Update gyazo_client version to 0.1.1
  • Loading branch information
katayama8000 authored Jul 15, 2024
1 parent f5c5d64 commit a458a39
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.md linguist-detectable=true
*.md linguist-language=markdown
*.yml linguist-detectable=true
*.yml linguist-language=yaml
2 changes: 1 addition & 1 deletion Cargo.lock

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

10 changes: 9 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
[package]
name = "gyazo_client"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
readme = "README.md"
authors = ["katayama8000 <https://github.com/katayama8000>"]
description = "Gyazo Client for Rust"
license = "MIT OR Apache-2.0"
repository = "https://github.com/katayama8000/gyazo-client-rust"
homepage = "https://github.com/katayama8000/gyazo-client-rust/blob/main/README.md"
keywords = ["gyazo", "client", "api", "rust"]
categories = ["api-client", "image", "web"]

[dependencies]
reqwest = { version = "0.12.5", features = ["json", "blocking", "multipart"] }
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
.build()?;
let upload_response = client.upload_image(upload_params).await?;

// Get image information
let image_info = client.get_image(&upload_response.image_id).await?;
// Get image
let image = client.get_image(&upload_response.image_id).await?;

// List images
let images = client.list_images().await?;
Expand Down

0 comments on commit a458a39

Please sign in to comment.