# 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 = "nekosbest" version = "0.20.1" include = [ "/examples", "/tests", "/src", "/Cargo.toml", "/LICENSE", "/README.md", "/CHANGELOG.md", ] description = "nekos.best API wrapper" readme = "README.md" license = "CC0-1.0" repository = "https://github.com/dnbln/nb-rs" [package.metadata.docs.rs] features = [] [[example]] name = "get_blocking" path = "examples/get_blocking.rs" required-features = ["blocking"] [[example]] name = "strong_get_nekos" path = "examples/strong_get_nekos.rs" required-features = ["strong-types"] [[example]] name = "strong_get_gif" path = "examples/strong_get_gif.rs" required-features = ["strong-types"] [[example]] name = "strong_search" path = "examples/strong_search.rs" required-features = ["strong-types"] [[example]] name = "download" path = "examples/download.rs" required-features = ["download"] [[example]] name = "download_url" path = "examples/download_url.rs" required-features = ["download"] [[example]] name = "download_gif" path = "examples/download_gif.rs" required-features = ["download"] [[test]] name = "try_metrics" path = "tests/try_metrics.rs" required-features = ["metrics"] [dependencies.chrono] version = "0.4.23" [dependencies.futures] version = "0.3.28" optional = true [dependencies.humantime-serde] version = "1" optional = true [dependencies.image] version = "0.24.6" optional = true [dependencies.nb-blocking-util] version = "0.10.1" optional = true [dependencies.reqwest] version = "0.11" features = ["json"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" [dependencies.url] version = "2" [dependencies.urlencoding] version = "2" [dev-dependencies.tokio] version = "1" features = ["full"] [features] blocking = [ "reqwest/blocking", "nb-blocking-util", ] default = ["rustls-tls"] default-tls = ["reqwest/default-tls"] download = [ "image", "futures", "reqwest/stream", ] metrics = ["humantime-serde"] native-tls = ["reqwest/native-tls"] rustls-tls = ["reqwest/rustls-tls"] strong-types = []