[package]
name = "hulc2envolventecte"
version = "2.2.1"
authors = ["Rafael Villar Burke <pachi@ietcc.csic.es>"]
edition = "2018"
description = "Export data from a HULC project to the EnvolventeCTE JSON format"
repository = "https://github.com/pachi/hulc2envolventecte"
readme = "README.md"
keywords = ["buildings", "energy", "ISO_EN_52000", "CTE", "EnvolventeCTE"]
categories = ["command-line-utilities", "science"]
license = "MIT"

[dependencies]
encoding = "0.2"
anyhow = "1.0"
flate2 = "1"
glob = "0.3"
log = "0.4"
md5 = "0.7.0"
roxmltree = "0.14"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"

[target.'cfg(not(windows))'.dependencies]
env_logger = "0.8"

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["wingdi", "winuser", "libloaderapi", "combaseapi", "objbase", "shobjidl", "shlobj", "winerror"] }
log4rs = { version = "1.0.0", features =["file_appender"] }

[dev-dependencies]
criterion = "0.3"

[[bench]]
name = "benchmark_types"
harness = false

[profile.release]
panic = "abort"
lto = true
codegen-units = 1
incremental = false
opt-level = "z"
