1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[]
= "markdown-prose-hooks"
# Tracks pyproject.toml. Two implementations answering to one corpus are one
# tool, and a version that means something different in each language would be
# a question every consumer has to ask twice.
= "0.1.3"
= ["Michael I Chen"]
= "2024"
# Pinned to what CI installs, so a language feature newer than this fails here
# rather than in a consumer's install. Also the floor for edition 2024.
= "1.86"
= "Pre-commit hooks that reflow Markdown prose to one line per paragraph."
= "README.md"
= "MIT"
= "https://github.com/michen00/markdown-prose-hooks"
= ["pre-commit", "markdown", "formatter", "prose", "linter"]
= ["command-line-utilities", "text-processing"]
# Everything the library and its binary need to compile, and nothing else.
# Without this the crate ships the whole repository -- 434 files and 1.4 MiB of
# corpus fixtures, Python package, docs and workflows -- which matters most in
# the channel it is least visible in: a `language: rust` hook resolves through
# `cargo install`, so a consumer who cloned a small mirror would still pull the
# monorepo down at build time, and the mirror would have bought them nothing.
#
# `/src/*.rs` rather than `/src`, because the Python package lives at
# `src/markdown_prose_hooks/` and a directory glob would ship it to crates.io.
#
# `tests/` and `corpus/` are left out together, and have to be: the integration
# test reads the fixtures at runtime, so shipping one without the other would
# hand a consumer a `cargo test` that fails for want of data. `cargo publish`
# verifies by building rather than testing, so their absence costs nothing here
# -- and conformance is judged in CI on the repository, which is where the
# corpus lives.
= [
'/src/*.rs',
'/src/bin/*.rs',
'/README.md',
'/LICENSE',
]
# Task 14 ships this binary, and about a megabyte is the budget. `panic` is
# ignored for the test and bench profiles, so this does not reach `cargo test`.
[]
= "z"
= true
= 1
= "abort"
= true