[package]
edition = "2024"
name = "rustdoc-prettier"
version = "0.7.4"
authors = ["Samuel Moelius <sam@moeli.us>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Format //! and /// comments with prettier"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/smoelius/rustdoc-prettier"
[[bin]]
name = "rustdoc-prettier"
path = "src/main.rs"
[[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"
[[test]]
name = "z_race"
path = "tests/z_race.rs"
[dependencies.anyhow]
version = "1.0"
features = ["backtrace"]
[dependencies.ctrlc]
version = "3.5"
[dependencies.elaborate]
version = "1.2"
[dependencies.glob]
version = "0.3"
[dependencies.itertools]
version = "0.15"
[dependencies.methodify]
version = "0.1"
[dependencies.rewriter]
version = "0.2"
[dependencies.toml]
version = "1.1"
[dev-dependencies.assert_cmd]
version = "2.2"
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.similar-asserts]
version = "2.0"
[dev-dependencies.tempfile]
version = "3.27"
[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]
level = "warn"
priority = 0
check-cfg = ["cfg(dylint_lib, values(any()))"]