# 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 = "tumblr_api" version = "0.2.0" exclude = ["README.tpl"] description = "Tumblr API client" readme = "README.md" keywords = [ "tumblr", "api", "npf", ] categories = [ "api-bindings", "web-programming::http-client", ] license = "MIT OR Apache-2.0" repository = "https://github.com/adrianmgg/tumblr_api" [dependencies.async-lock] version = "2" optional = true [dependencies.reqwest] version = "~0.11.2" features = [ "json", "multipart", ] optional = true [dependencies.serde] version = "~1.0.103" features = ["serde_derive"] [dependencies.serde-enum-str] version = "~0.3" optional = true [dependencies.serde_json] version = "~1.0.73" [dependencies.serde_with] version = ">= 2.0.1" optional = true [dependencies.thiserror] version = "~1.0.7" optional = true [dependencies.time] version = "0.3" features = [ "formatting", "serde", ] optional = true [dependencies.tumblr_api_derive] version = "0.1.0" [dependencies.veil] version = "0.1" optional = true [dev-dependencies.anyhow] version = "1.0.72" [dev-dependencies.tokio] version = "1.31.0" features = ["full"] [features] api = [ "npf", "dep:time", "dep:thiserror", ] auth = [ "dep:reqwest", "dep:thiserror", "dep:veil", "dep:async-lock", "dep:serde_with", "dep:serde-enum-str", ] client = [ "api", "npf", "auth", "dep:reqwest", "dep:thiserror", "dep:time", ] default = ["client"] npf = []