# 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" rust-version = "1.67.1" name = "ddragon" version = "0.8.2" description = "Library for pulling data from ddragon, with caching support." homepage = "https://github.com/kade-robertson/ddragon" readme = "./README.md" keywords = [ "ddragon", "league-of-legends", "lol", "teamfight-tactics", "tft", ] categories = ["api-bindings"] license = "MIT" repository = "https://github.com/kade-robertson/ddragon" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev] debug = 0 [profile.release] debug = 0 [dependencies.cacache] version = "11.7.1" features = [ "tokio-runtime", "mmap", ] optional = true default-features = false [dependencies.http-cache-reqwest] version = "0.11" optional = true [dependencies.image] version = "0.24" features = ["png"] optional = true default-features = false [dependencies.reqwest] version = "0.11" features = ["json"] optional = true default-features = false [dependencies.reqwest-middleware] version = "0.2" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.thiserror] version = "1.0" optional = true [dependencies.ureq] version = "2.7" features = ["json"] optional = true [dependencies.url] version = "2.3" optional = true [dev-dependencies.colored] version = "=2.0.4" [dev-dependencies.mockito] version = "=1.1.1" [dev-dependencies.tokio] version = "=1.32.0" [dev-dependencies.tokio-test] version = "=0.4.3" [features] async = [ "async-base", "reqwest?/native-tls", ] async-base = [ "dep:thiserror", "dep:url", "dep:reqwest", "dep:reqwest-middleware", "dep:http-cache-reqwest", ] async-rustls = [ "async-base", "reqwest?/rustls", ] default = ["sync"] image = ["dep:image"] sync = [ "dep:thiserror", "dep:url", "dep:ureq", "dep:cacache", ]