[package]
edition = "2024"
rust-version = "1.85"
name = "pvlib-rust"
version = "0.1.6"
build = false
exclude = [
"pvlib-python-ref/**",
"pvlib-python-ref/",
"docs/**",
"firebase-debug.log",
"clippy_output.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust port of pvlib-python: solar energy modeling toolkit"
homepage = "https://github.com/p-vbordei/pvlib-rust"
documentation = "https://docs.rs/pvlib-rust"
readme = "README.md"
keywords = [
"solar",
"photovoltaic",
"pvlib",
"energy",
"irradiance",
]
categories = [
"science",
"simulation",
]
license = "Apache-2.0"
repository = "https://github.com/p-vbordei/pvlib-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["pvgis"]
pvgis = ["dep:reqwest"]
[lib]
name = "pvlib"
path = "src/lib.rs"
[[example]]
name = "annual_tmy"
path = "examples/annual_tmy.rs"
[[test]]
name = "test_albedo"
path = "tests/test_albedo.rs"
[[test]]
name = "test_atmosphere"
path = "tests/test_atmosphere.rs"
[[test]]
name = "test_batch"
path = "tests/test_batch.rs"
[[test]]
name = "test_batch_equivalence"
path = "tests/test_batch_equivalence.rs"
[[test]]
name = "test_clearsky"
path = "tests/test_clearsky.rs"
[[test]]
name = "test_core"
path = "tests/test_core.rs"
[[test]]
name = "test_end_to_end"
path = "tests/test_end_to_end.rs"
[[test]]
name = "test_iam"
path = "tests/test_iam.rs"
[[test]]
name = "test_inverter_tracking"
path = "tests/test_inverter_tracking.rs"
[[test]]
name = "test_iotools_weather"
path = "tests/test_iotools_weather.rs"
[[test]]
name = "test_irradiance"
path = "tests/test_irradiance.rs"
[[test]]
name = "test_location"
path = "tests/test_location.rs"
[[test]]
name = "test_modelchain"
path = "tests/test_modelchain.rs"
[[test]]
name = "test_new_modules"
path = "tests/test_new_modules.rs"
[[test]]
name = "test_pvarray"
path = "tests/test_pvarray.rs"
[[test]]
name = "test_pvgis"
path = "tests/test_pvgis.rs"
[[test]]
name = "test_shading"
path = "tests/test_shading.rs"
[[test]]
name = "test_singlediode"
path = "tests/test_singlediode.rs"
[[test]]
name = "test_snow"
path = "tests/test_snow.rs"
[[test]]
name = "test_soiling"
path = "tests/test_soiling.rs"
[[test]]
name = "test_solarposition"
path = "tests/test_solarposition.rs"
[[test]]
name = "test_spectrum"
path = "tests/test_spectrum.rs"
[[test]]
name = "test_temperature"
path = "tests/test_temperature.rs"
[[test]]
name = "test_transformer"
path = "tests/test_transformer.rs"
[[bench]]
name = "batch_tmy"
path = "benches/batch_tmy.rs"
harness = false
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.chrono-tz]
version = "0.10"
[dependencies.csv]
version = "1.4"
[dependencies.rayon]
version = "1.11"
[dependencies.reqwest]
version = "0.13"
features = [
"blocking",
"rustls",
"webpki-roots",
]
optional = true
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.spa]
version = "0.5"
[dependencies.thiserror]
version = "2"
[dev-dependencies.approx]
version = "0.5"
[dev-dependencies.criterion]
version = "0.5"
default-features = false
[dev-dependencies.tempfile]
version = "3"
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "debuginfo"