Cargo Features

[dependencies]
nppes = { version = "0.0.3", default-features = false, features = ["all", "parallel", "dataframe", "arrow-export", "full-text-search", "download"] }
default = parallel, progress

These default features are set whenever nppes is added without default-features = false somewhere in the dependency tree.

all = arrow-export, dataframe, download, full-text-search, parallel, progress
progress parallel default all?
dataframe all? = polars
arrow-export all? = arrow, parquet

Affects export::ParquetExporter

download all? = futures-util, reqwest, tempfile, tokio, zip

Affects download::DownloadConfig, download::NppesDownloader, download::ExtractedFiles

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

reqwest download?

Enables reqwest

HTTP client and ZIP extraction (optional)

tokio download?
zip download?
tempfile download?
futures-util download?
polars dataframe?

Enables polars

Optional dependencies for exports

arrow arrow-export?
parquet arrow-export?
tantivy full-text-search?

Enables tantivy

Indexing and search (optional)