Cargo Features

[dependencies]
dynfmt2 = { version = "0.2.0", default-features = false, features = ["json", "python", "curly"] }
default = json

The json feature is set by default whenever dynfmt2 is added without default-features = false somewhere in the dependency tree.

json default = serde_json

Affects formatter::SerializeSeq, formatter::SerializeTuple, formatter::SerializeTupleStruct, formatter::SerializeTupleVariant, formatter::SerializeMap, formatter::SerializeStruct, formatter::SerializeStructVariant

python = regex

Affects dynfmt2::python

curly = regex

Affects dynfmt2::curly

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.

regex curly? python?
serde_json json