Cargo Features

[dependencies]
gldf-rs = { version = "0.3.3", default-features = false, features = ["http", "eulumdat"] }
default = http

The http feature is set by default whenever gldf-rs is added without default-features = false somewhere in the dependency tree.

http default

Enables async-std

Async runtime (optional for HTTP)

and reqwest ^0.12 and tokio

reqwest:

HTTP client (optional)

Affects gldf-rs::fetch_text_from_url, gldf-rs::fetch_content_from_url

eulumdat

Enables eulumdat ^0.3.0

Photometry parsing (optional)

Affects convert::ldt_to_gldf, gldf-rs::convert