Cargo Features

oxc_resolver has no features set by default.

[dependencies]
oxc_resolver = { version = "1.7.0", features = ["codspeed", "package_json_raw_json_api", "document-features"] }
codspeed dev

For codspeed benchmark

Enables codspeed of criterion2 ^0.7.2

package_json_raw_json_api

Enables the PackageJson::raw_json API, which returns the package.json with serde_json::Value.

Features from optional dependencies

document-features implicit feature

Enables document-features

document-features:

Extract documentation for the feature flags from comments in Cargo.toml