# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "imgurs" version = "0.11.2" authors = ["M3DZIK "] description = "API for Imgur" homepage = "https://github.com/M3DZIK/imgurs" readme = "README.md" keywords = [ "imgur", "imgur-api", "image", "image-upload", ] license = "BSD-3-Clause" repository = "https://github.com/M3DZIK/imgurs.git" [profile.release] opt-level = "z" lto = true codegen-units = 1 [dependencies.base64] version = "0.21" [dependencies.reqwest] version = "0.11" features = [ "json", "multipart", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.validator] version = "0.16" [dev-dependencies.tokio] version = "1.25" features = [ "macros", "rt-multi-thread", ] [features] default = [ "imgur", "rustls-tls", ] full = ["imgur"] imgur = [] native-tls = ["reqwest/native-tls"] rustls-tls = ["reqwest/rustls-tls"]