# Copyright 2018-2026 the Deno authors. MIT license.
[package]
name = "deno_config"
version = "0.107.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Config file implementation for the Deno CLI"

[lib]
path = "lib.rs"

[features]
default = ["workspace"]
deno_json = ["deno_semver", "jsonc-parser", "glob", "ignore", "import_map"]
package_json = ["deno_package_json"]
sync = ["deno_maybe_sync/sync", "deno_package_json/sync"]
workspace = ["deno_json", "package_json"]

[dependencies]
boxed_error.workspace = true
capacity_builder = { workspace = true }
chrono.workspace = true
deno_error = { workspace = true, features = ["url"] }
deno_maybe_sync.workspace = true
deno_package_json = { workspace = true, optional = true }
deno_path_util.workspace = true
deno_semver = { workspace = true, optional = true }
glob = { workspace = true, optional = true }
ignore = { workspace = true, optional = true }
import_map = { workspace = true, features = ["ext"], optional = true }
indexmap = { workspace = true, features = ["serde"] }
jsonc-parser = { workspace = true, features = ["serde"], optional = true }
log.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
sys_traits.workspace = true
thiserror.workspace = true
url = { workspace = true }

[dev-dependencies]
pretty_assertions.workspace = true
sys_traits = { workspace = true, features = ["memory", "real", "serde_json"] }
tempfile.workspace = true
