Cargo Features

[dependencies]
viperus = { version = "0.1.10", default-features = false, features = ["global", "cache", "watch", "fmt-yaml", "fmt-json", "fmt-env", "fmt-javaproperties", "fmt-clap", "fmt-toml"] }
default = cache, fmt-clap, fmt-env, fmt-javaproperties, fmt-json, fmt-toml, fmt-yaml, global, notify, watch

no features by default

global default watch = lazy_static

static global config

cache default

cache queries

Affects global::cache

watch default = global, notify

Affects global::watch_all

fmt-yaml default = serde, serde_yaml
fmt-json default = serde, serde_json
fmt-env default = dotenv
fmt-javaproperties default = java-properties
fmt-clap default = clap

Affects global::load_clap, global::bond_clap

fmt-toml default = toml

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.

serde fmt-json fmt-yaml
serde_yaml fmt-yaml

Enables serde_yaml ^0.8.11

serde_json fmt-json
clap fmt-clap

Enables clap ^2.33.0

dotenv fmt-env
toml fmt-toml

Enables toml ^0.5.5

java-properties fmt-javaproperties

Enables java-properties ^1.2.0

lazy_static global
notify default watch

Enables notify ^4.0.0