# 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 = "2024"
name = "gtrend-rs"
version = "2.0.0"
authors = ["LafCorentin"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unofficial client for interacting with Google Trend API"
readme = "README.md"
keywords = [
    "google_trend",
    "trend",
    "google",
    "api",
    "web",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://www.github.com/LafCorentin/gtrend-rs"

[lib]
name = "gtrend_rs"
path = "src/lib.rs"

[[example]]
name = "simple_request"
path = "examples/simple_request.rs"

[[test]]
name = "global"
path = "tests/global.rs"

[dependencies.chrono]
version = "0.4.42"

[dependencies.enum-map]
version = "2.7.3"

[dependencies.quick-xml]
version = "0.38.4"

[dependencies.reqwest]
version = "0.12.24"
features = ["cookies"]

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.145"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
version = "1.48.0"
features = [
    "rt",
    "macros",
]

[profile.release]
lto = true
