-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
43 lines (37 loc) · 965 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[workspace]
members = ["imgurs-cli"]
resolver = "2"
[package]
name = "imgurs"
version = "0.11.3"
description = "API for Imgur"
license = "BSD-3-Clause"
authors = ["M3DZIK <me@medzik.dev>"]
homepage = "https://github.com/M3DZIK/imgurs"
repository = "https://github.com/M3DZIK/imgurs.git"
keywords = ["imgur", "imgur-api", "image", "image-upload"]
edition = "2021"
[features]
default = ["imgur", "rustls-tls"]
full = ["imgur"]
rustls-tls = ["reqwest/rustls-tls"]
native-tls = ["reqwest/native-tls"]
imgur = []
[profile.release]
lto = true
opt-level = 'z'
codegen-units = 1
[dependencies]
# HTTP
reqwest = { version = "0.12", default-features = false, features = ["json", "multipart"] }
# Request
base64 = "0.22"
url = "2.5.0" # validate url address
# Response
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Errors
thiserror = "1.0"
[dev-dependencies]
# Async tests
tokio = { version = "1.37", features = ["macros", "rt-multi-thread"] }