[package]
edition = "2024"
name = "deno_doc"
version = "0.201.0"
authors = ["the Deno authors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "doc generation for deno"
readme = "README.md"
license = "MIT"
repository = "https://github.com/denoland/deno_doc"
[features]
default = [
"rust",
"comrak",
]
rust = []
[lib]
name = "deno_doc"
path = "src/lib.rs"
[[example]]
name = "ddoc"
path = "examples/ddoc/main.rs"
required-features = ["comrak"]
[[example]]
name = "memory_profile"
path = "examples/memory_profile.rs"
[[test]]
name = "diff_specs"
path = "tests/diff_specs_test.rs"
harness = false
[[test]]
name = "html_test"
path = "tests/html_test.rs"
[[test]]
name = "specs"
path = "tests/specs_test.rs"
harness = false
[[bench]]
name = "doc_parser"
path = "benches/doc_parser.rs"
[dependencies.anyhow]
version = "1.0.86"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.comrak]
version = "0.29.0"
optional = true
default-features = false
[dependencies.deno_ast]
version = "0.53.2"
[dependencies.deno_graph]
version = "0.109.0"
features = [
"swc",
"symbols",
]
default-features = false
[dependencies.deno_path_util]
version = "0.6.4"
[dependencies.deno_terminal]
version = "0.2.3"
[dependencies.handlebars]
version = "6.1"
features = ["string_helpers"]
[dependencies.html-escape]
version = "0.2.13"
[dependencies.indexmap]
version = "2.3.0"
[dependencies.itoa]
version = "1.0.14"
[dependencies.lazy_static]
version = "1.5.0"
[dependencies.regex]
version = "1.10.6"
[dependencies.serde]
version = "1.0.204"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.122"
features = ["preserve_order"]
[dependencies.similar]
version = "2"
[dependencies.termcolor]
version = "1.4.1"
[dev-dependencies.anyhow]
version = "1.0.86"
[dev-dependencies.clap]
version = "4"
features = ["derive"]
[dev-dependencies.console_static_text]
version = "0.8.2"
[dev-dependencies.criterion]
version = "0.4.0"
features = [
"async_futures",
"html_reports",
]
[dev-dependencies.file_test_runner]
version = "0.7.2"
[dev-dependencies.futures]
version = "0.3.30"
[dev-dependencies.html5ever]
version = "0.27.0"
[dev-dependencies.insta]
version = "1.39.0"
features = ["json"]
[dev-dependencies.markup5ever_rcdom]
version = "0.3.0"
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[dev-dependencies.tokio]
version = "1.39.2"
features = ["full"]
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.69"
[target.'cfg(target_arch = "wasm32")'.dependencies.percent-encoding]
version = "2.3.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "=0.5.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.url]
version = "2.4.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.92"
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
incremental = true