Status: groundwork, from 0.0.25's workstream 5
(2026-11-04). The review itself is
stage 3 of the plan to 1.0.0;
this note is two of its lists, made ahead of it: what each stable crate
still lacks in documentation, and every foreign type in the stable
set's public APIs. Nothing here changes an API; the review decides.
The stable set is the sixteen packages in
What 1.0.0 covers. Fifteen are Rust
crates in the workspace; the sixteenth, rs-rich on PyPI, has no Rust API
of its own and is not counted here.
Stage 3 sets missing_docs to deny on the stable set. 0.0.25 turns it on
as a warning where a crate is already at zero, and records the count
where it is not. CI runs clippy with -D warnings, so a crate gets
#![warn(missing_docs)] only once every public item is documented,
features on; until then its count is here instead.
Counted on 2026-11-04 with cargo rustc -p <crate> --lib --profile=check
-- -W missing_docs (Rust 1.99), with default features and with all of
them (rs-rich-art's count without avif, which adds no item). The after
column is 0.0.25's, with the gaps it filled; every crate with the lint
on passes cargo clippy --all-targets --all-features -- -D warnings
(rs-rich-cli: its library, whose two public items no feature changes).
crate
default features
all features
after 0.0.25
lint
rs-rich
222
222
222
not on: see below
rs-rich-plugin-api
58
58
0
warn
rs-rich-macros
0
0
0
warn
rs-rich-ext
746
1,153
1,153
not yet
rs-rich-cli
0
0
0
warn (its library's public items are run and run_embedded)
Core.crates/rich is the faithful port: its doc comments follow
upstream's docstrings, and AGENTS.md keeps changes to
it to what an upstream sync brings. A crate-level lint attribute changes
no behaviour, but documenting 222 items that upstream leaves bare is a
port question, so 0.0.25 only counts them; the review decides how core
meets "every public item is documented" (writing them, or allowing
the lint on the items upstream has no docstring for).
Ten of the fifteen are at zero with the lint on. For 0.1.0, the order
that costs least: noctiluca, rs-rich-intuituive and rs-rich-interact
(three hundred or so each, mostly fields and variants), then
rs-rich-ext, the largest by far, and core once the review has decided
how.
Stage 3's public-dependency review goes through this list: for each
type, hide it behind one of ours, or keep it behind a feature documented
as following that dependency's major version.
Read from the API snapshots (api/<crate>.txt, made with every feature
on except for rs-rich-cli, whose snapshot is its default build) at
3514d742. A foreign type is any path whose crate is not std, core,
alloc or a workspace crate. Versions are those in Cargo.lock. "In the
API" says when the type is there: always, or only with the features
named (the features that pull the dependency in); for a type that comes
through another crate, which one. Methods on primitive types (rs-rich-ext's
str::accessible_text, rs-rich-intuituive's f64::stepped) are our
extension traits' impls, not foreign types, and are left out.
What stands out:
Core exposes two: compact_str::CompactString (Segment::text,
Color::name, and its re-export, decided in 0.0.23) and
serde_json::Value (Json::from_data, PrettyValue::from). syntect
and pulldown-cmark, which the plan expected to be the main cases, are
not in core's public API: the snapshot names neither.
Whole crates re-exported:rich_art::image (pub use image, which
rs-rich-micro and rs-rich-intuituive reach image's types through) and
rich_marketplace::semver.
serde: rs-rich-acp (about 75 types) and rs-rich-ext (about 50)
implement Serialize or Deserialize; the snapshots name the traits
by the crate that defines them, serde_core, which serde re-exports.
serde_json::Value is in seven of the fifteen crates.
Behind a feature already: rs-rich-ext's anyhow, log, tracing,
toml and clap adapters, rs-rich-interact's termion and termwiz
converters, rs-rich-marketplace's ureq (its http feature), and
rs-rich-embed's serde_json (chrome).
Always on: rs-rich-interact's crossterm::event::Event,
rs-rich-embed's and rs-rich-record's vt100 screens and mouse modes,
rs-rich-embed's portable_pty::ExitStatus conversion, rs-rich-record's
fancy_regex::Regex in tape masks, and rs-rich-plugin-api's
inventory::Collect, which export_plugin! needs.
cli_doc::clap::parse_or_exit_with_spec, cli_doc::clap::parse_or_exit, cli_doc::clap::try_parse_from, cli_doc::clap::try_parse_with_spec, and 1 more
log
0.4.35
feature log
log::LevelFilter
adapters::LogAdapter::new
log
0.4.35
feature log
log::Log
impl Log for adapters::LogAdapter
log
0.4.35
feature log
log::Metadata
adapters::LogAdapter::enabled
log
0.4.35
feature log
log::Record
adapters::LogAdapter::log
serde_core
1.0.229
serde (the derive's traits live in serde_core)
serde_core::de::Deserialize
impl Deserialize for diff::test_report::Case, impl Deserialize for diff::test_report::Status, impl Deserialize for diff::test_report::Suite, impl Deserialize for diff::test_report::TestRun, and 23 more
serde_core
1.0.229
serde (the derive's traits live in serde_core)
serde_core::de::Deserializer
diff::test_report::Case::deserialize, diff::test_report::Status::deserialize, diff::test_report::Suite::deserialize, diff::test_report::TestRun::deserialize, and 23 more
serde_core
1.0.229
serde (the derive's traits live in serde_core)
serde_core::ser::Error
impl Error for data::DataError
serde_core
1.0.229
serde (the derive's traits live in serde_core)
serde_core::ser::Serialize
data::from_serialize, data::json, data::print_json_to, data::print_json, and 56 more
serde_core
1.0.229
serde (the derive's traits live in serde_core)
serde_core::ser::Serializer
a11y::contrast::Deficiency::serialize, a11y::contrast::Finding::serialize, a11y::contrast::FindingKind::serialize, a11y::contrast::Severity::serialize, and 45 more
serde_json
1.0.154
feature data, test-report, testing
serde_json::error::Error
testing::SnapshotError
serde_json
1.0.154
feature data, test-report, testing
serde_json::error::Result
qa::lint::LintReport::from_json
serde_json
1.0.154
feature data, test-report, testing
serde_json::value::Value
data::Node::from, data::Node::to_json, deps::DepGraph::from_value, deps::audit::AdvisoryReport::from_cargo_audit_value, and 17 more
impl Deserialize for AgentCapabilities, impl Deserialize for AudioContent, impl Deserialize for AuthMethodId, impl Deserialize for AuthMethod, and 71 more