Cargo Features

env-vars-to-json has no features set by default.

[dependencies]
env-vars-to-json = { version = "0.1.6", features = ["filter", "preserve_order"] }
filter

Enables regex

Affects env-vars-to-json::Parser.include, env-vars-to-json::Parser.exclude

preserve_order

Enables preserve_order of serde_json

serde_json:

Make serde_json::Map use a representation which maintains insertion order.
This allows data to be read into a Value and written back to a JSON string while preserving the order of map keys in the input.