[package]
name = "cima-rs"
version = "0.0.6"
edition = "2024"
rust-version = "1.91"
authors = ["Jorge Perez Burgos <vaijira@gmail.com>"]
description = "Rust library and CLI providing access to the Spanish AEMPS CIMA REST API and nomenclator XML parser"
license = "MIT"
readme = "README.md"
repository = "https://github.com/vaijira/cima-rs"
homepage = "https://github.com/vaijira/cima-rs"
documentation = "https://docs.rs/cima-rs"
keywords = ["aemps", "cima", "nomenclator", "medications", "spain"]
categories = ["api-bindings", "parser-implementations", "command-line-utilities"]

[dependencies]
tokio = { version = "1.48", features = [ "full" ] }
reqwest = { version = "0.13", features = ["json"] }
zip = "8.6"
anyhow = "1.0"
quick-xml = { version = "0.40", features = ["serialize"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
csv = "1.3"
clap = { version = "4.5", features = ["derive"] }
futures = "0.3"
num_cpus = "1.16"
urlencoding = "2.1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[dev-dependencies]
tempfile = "3.10"

[profile.dev]
debug = 0     # Speed up compilation time and not necessary.
opt-level = 0

[profile.dev.build-override]
opt-level = 3

[profile.dev.package."*"]
opt-level = 3
