deno_graph 0.108.0

Module graph analysis for deno
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "deno_graph"
version = "0.108.0"
authors = ["the Deno authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Module graph analysis for deno"
homepage = "https://deno.land/"
documentation = "https://docs.rs/deno_graph"
readme = "README.md"
license = "MIT"
repository = "https://github.com/denoland/deno_graph"

[package.metadata.docs.rs]
all-features = true

[features]
default = [
    "fast_check",
    "ecosystem_test",
]
ecosystem_test = []
fast_check = [
    "symbols",
    "deno_ast/transpiling",
    "twox-hash",
]
swc = [
    "deno_ast",
    "deno_ast/visit",
]
symbols = [
    "swc",
    "deno_ast/transforms",
    "deno_ast/utils",
]

[lib]
name = "deno_graph"
path = "src/lib.rs"

[[test]]
name = "ecosystem"
path = "tests/ecosystem_test.rs"
harness = false

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[[test]]
name = "specs"
path = "tests/specs_test.rs"
harness = false

[dependencies.async-trait]
version = "0.1.68"

[dependencies.boxed_error]
version = "0.2.3"

[dependencies.capacity_builder]
version = "0.5.0"

[dependencies.chrono]
version = "0.4.42"
features = ["serde"]
default-features = false

[dependencies.data-url]
version = "0.3.0"

[dependencies.deno_ast]
version = "0.53.2"
features = ["emit"]
optional = true

[dependencies.deno_error]
version = "0.7.0"
features = [
    "serde",
    "serde_json",
]

[dependencies.deno_media_type]
version = "0.4.0"
features = [
    "decoding",
    "data_url",
    "module_specifier",
]

[dependencies.deno_path_util]
version = "0.6.4"

[dependencies.deno_semver]
version = "0.9.0"

[dependencies.deno_unsync]
version = "0.4.4"
default-features = false

[dependencies.futures]
version = "0.3.26"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.log]
version = "0.4.20"

[dependencies.monch]
version = "0.6.0"

[dependencies.once_cell]
version = "1.16.0"

[dependencies.parking_lot]
version = "0.12.0"

[dependencies.regex]
version = "1.10.2"

[dependencies.serde]
version = "1.0.130"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.67"
features = ["preserve_order"]

[dependencies.sha2]
version = "^0.10.0"

[dependencies.sys_traits]
version = "0.1.16"

[dependencies.thiserror]
version = "2"

[dependencies.twox-hash]
version = "1.6.3"
optional = true

[dependencies.url]
version = "2.5.4"
features = ["serde"]

[dependencies.wasm_dep_analyzer]
version = "0.4.0"

[dev-dependencies.bincode]
version = "1.3.3"

[dev-dependencies.deno_terminal]
version = "0.2.0"

[dev-dependencies.env_logger]
version = "0.11.3"

[dev-dependencies.file_test_runner]
version = "0.7.0"

[dev-dependencies.pretty_assertions]
version = "1.0.0"

[dev-dependencies.reqwest]
version = "0.12.4"
features = [
    "http2",
    "charset",
    "rustls-tls-webpki-roots",
]
default-features = false

[dev-dependencies.sys_traits]
version = "0.1.16"
features = ["memory"]

[dev-dependencies.tempfile]
version = "3.4.0"

[dev-dependencies.tokio]
version = "1.10.1"
features = [
    "macros",
    "rt-multi-thread",
    "sync",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.deno_unsync]
version = "0.4.4"
features = ["tokio"]
default-features = false

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
incremental = true