Cargo Features

nodejs_package_json has no features set by default.

[dependencies]
nodejs_package_json = { version = "0.3.0", features = ["miette", "protocols", "serialize"] }
miette

Enables miette

protocols

Enables regex

Affects package_json::PackageJson.version

serialize