# 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 = "nemweb"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for AEMO NEMWeb — Australian electricity market data"
homepage = "https://github.com/Erio-Harrison/nemweb-rs"
readme = "README.md"
keywords = [
    "aemo",
    "nemweb",
    "electricity",
    "energy",
    "australia",
]
categories = [
    "api-bindings",
    "science",
]
license = "MIT"
repository = "https://github.com/Erio-Harrison/nemweb-rs"

[features]
default = ["serde"]
serde = [
    "dep:serde",
    "chrono/serde",
]

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = ["gzip"]

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.zip]
version = "2.2"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]
