# 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 = "azzurro"
version = "0.1.0"
authors = ["Sébastien LUNDI"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust parsing library for the ZCS Azzurro Portal API — retrieve solar production, battery, and energy consumption data"
readme = "README.md"
keywords = [
    "solar",
    "battery",
    "energy",
    "zcs",
    "azzurro",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://codeberg.org/slundi/azzurro"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

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

[[bin]]
name = "azzurro"
path = "src/main.rs"

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

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

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

[profile.bench]
debug = 0

[profile.dev]
opt-level = 0
debug = 2

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
