Cargo Features

critters-rs has no features set by default.

[dependencies]
critters-rs = { version = "0.1.0", features = ["directory", "cli", "typegen", "use-napi"] }
directory cli? use-napi? = indicatif, rayon, walkdir

Affects utils::locate_html_files, utils::ProgressBarExt

cli = directory, env_logger, indicatif-log-bridge

Required by the binary

typegen = ts-rs
use-napi = directory, env_logger, napi, napi-derive, serde_json

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.

env_logger cli? use-napi?
indicatif directory?
indicatif-log-bridge cli?
napi use-napi?

Enables napi

Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix

napi-derive use-napi?
rayon directory?
serde_json use-napi?
ts-rs typegen?
walkdir directory?