[[bin]]
name = "rustdoc-prettier"
path = "src/main.rs"
[dependencies.anyhow]
features = ["backtrace"]
version = "1.0"
[dependencies.ctrlc]
version = "3.4"
[dependencies.glob]
version = "0.3"
[dependencies.itertools]
version = "0.14"
[dependencies.rewriter]
version = "0.2"
[dependencies.toml]
version = "0.8"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.ctor]
version = "0.4"
[dev-dependencies.predicates]
version = "3.0"
[dev-dependencies.similar-asserts]
version = "1.7"
[dev-dependencies.tempfile]
version = "3.20"
[lints.clippy]
format-collect = "allow"
map-unwrap-or = "allow"
missing-errors-doc = "allow"
missing-panics-doc = "allow"
struct-field-names = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(dylint_lib, values(any()))"]
level = "warn"
priority = 0
[package]
authors = ["Samuel Moelius <sam@moeli.us>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Format //! and /// comments with prettier"
edition = "2024"
license = "MIT OR Apache-2.0"
name = "rustdoc-prettier"
readme = "README.md"
repository = "https://github.com/smoelius/rustdoc-prettier"
version = "0.5.1"
[[test]]
name = "ci"
path = "tests/ci.rs"
[[test]]
name = "dogfood"
path = "tests/dogfood.rs"
[[test]]
name = "globstar"
path = "tests/globstar.rs"
[[test]]
name = "nonexistent_file"
path = "tests/nonexistent_file.rs"
[[test]]
name = "rustfmt_toml_in_parent_directory"
path = "tests/rustfmt_toml_in_parent_directory.rs"
[[test]]
name = "util"
path = "tests/util.rs"