Cargo Features

[dependencies]
deno_config = { version = "0.41.0", default-features = false, features = ["deno_json", "package_json", "sync", "workspace"] }
default = workspace

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

deno_json workspace = glob, ignore, import_map, jsonc-parser, phf

Affects deno_config::deno_json, deno_config::glob

package_json workspace = deno_package_json

Affects fs::DenoConfigPkgJsonAdapterFs

sync

Enables sync of deno_package_json

workspace default = deno_json, deno_semver, package_json

Affects deno_config::workspace

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.

jsonc-parser deno_json?
glob deno_json?
ignore deno_json?
phf deno_json?
import_map deno_json?

Enables import_map ^0.20.0

deno_semver workspace
deno_package_json package_json? sync?