Cargo Features

[dependencies]
dias = { version = "0.1.1", default-features = false, features = ["exit", "storage", "cmd-line", "config"] }
default = cmd-line, config, exit, storage

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

exit default

Affects dias::exit

storage default

Enables atomic-write-file ^0.1 and directories, Storage and Window of web-sys

Affects config::write_config_file, config::read_config_file, dias::storage

cmd-line default

Enables lexopt, Location, UrlSearchParams and Window of web-sys

Affects dias::cmd_line

config default

Enables serde, serde_json, and toml

Affects dias::config