tw-cli 0.1.0

One command for a Markdoc corpus
# tw -- one command for a Markdoc corpus.
#
# The crate is `tw-cli` because `tw` on crates.io is taken by an unrelated
# crate. The binary is `tw`, which is the name that matters.
[package]
name = "tw-cli"
version = "0.1.0"
edition = "2024"
license = "MIT"
repository = "https://github.com/markdoc-rs/tw"
description = "One command for a Markdoc corpus"

[[bin]]
name = "tw"
path = "src/main.rs"

[dependencies]
markdoc-lint = "0.1.0"
markdoc-prose = "0.1.0"
clap = { version = "4.6", features = ["derive"] }
serde_json = "1.0.154"
ureq = "3"
clap_complete = "4"
self-replace = "1"
serde = { version = "1.0.229", features = ["derive"] }
# tw.toml. Already in the tree through markdoc-lint, which reads its own.
toml = "0.9"
# Every release this downloads publishes a .sha256 beside it, and until
# now nothing looked at one. The same crate the site generator uses.
sha2 = "0.10.9"
# Which forge a pin is on, and which origin a token may go to, is decided on
# the URL as a WHATWG parser reads it: host lower-cased and IDNA-mapped,
# default ports folded, user info apart. Already in the tree.
url = "2.5"

# What a writer installs, so it is built for size and for a stack trace that
# still names a function. The three binaries this replaces were built the
# same way by markdoc-tools' release workflow, which is what made the size
# comparison in slice 0 a fair one.
[profile.release]
opt-level = 3
lto = "thin"
strip = "debuginfo"

# How many names a .env has on disk (dotenv.rs): std gives the count on
# Windows only behind an unstable feature. Already in the tree (walkdir).
[target.'cfg(windows)'.dependencies]
winapi-util = "0.1.11"