tools capa

tools-lexicon-report

Renders docs/reference/lexicon.tsv (the Gate 1.3 naming lexicon) as a PDF table with an explanatory header. Input/output paths and PDF engine are CLI arguments, so the same binary works for any TSV in this table shape, not just the lexicon.

Renders docs/reference/lexicon.tsv (the Gate 1.3 naming lexicon) as a PDF table with an explanatory header. Input/output paths and PDF engine are CLI arguments, so the same binary works for any TSV in this table shape, not just the lexicon.

Tiertools
Roleunclassified (baselined)
Pathcrates/tools/lexicon-report
Edition2021
Targetstools-lexicon-report, tools_lexicon_report
Public items3 across 0 modules
Tests5

What it is for

Pure parsing/rendering for tools-lexicon-report (PROCESS §17: split logic from the subprocess call so it's testable without a PDF engine installed).

Reads any TSV in the lexicon shape (term\tprefer\tscope\tauto\tnote, #-prefixed comment/header lines and blank lines ignored) and renders it as a self-contained HTML page: a caller-supplied explanation paragraph, then the table. main.rs shells that HTML out to a PDF engine.

Capabilities

LexiconRow

Pure parsing/rendering for tools-lexicon-report (PROCESS §17: split logic from

Item
pub struct LexiconRow
fn parse_lexicon_tsv(text : & str) -> Vec <LexiconRow>
fn render_html(title : & str, explanation : & str, rows : & LexiconRow) -> String

How to use it

No examples/ target and no doctest in this crate's rustdoc. The tests listed under Verification are the closest executable usage.

Module structure

No public modules: the crate root is its whole surface.

Public surface

`crate root`

ItemWhat it is
pub struct LexiconRowOne data row of the lexicon TSV.
fn parse_lexicon_tsv(text : & str) -> Vec <LexiconRow>Parse a lexicon-shaped TSV
fn render_html(title : & str, explanation : & str, rows : & LexiconRow) -> StringRender a self-contained HTML page: title, an explanatory paragraph, then the table

No pub use re-exports: every item above is declared in this crate.

Boundary

Depends on no other workspace tier.

Shares tier tools with 84 other crates: tools-advisory-reach, tools-archive-guard, tools-artifact-scaffold, tools-ask-ai-core, tools-ask-ais, tools-ask-gemini, tools-book, tools-book-report, … (84 total).

_What this crate deliberately does NOT own is a judgment. No committed registry records one for it, so none is stated here._

Where it sits

Tier (ontology)tools
Architectural role (taxonomy)unclassified (baselined)
Locationcrates/tools/lexicon-report
Vocabulary in force (lexicon)current

Dependencies

Runtime, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
anyhow^1noalways
clap^4derivenoalways

Development, in this workspace.

CrateTierOptionalOnly on
`tools-cli-conformance`toolsnoalways

Development, from outside the workspace.

CrateRequirementFeaturesOptionalOnly on
tempfile^3noalways

Build. None.

Depended on by. Nothing in this workspace.

Signal flow — what reaches this crate, and what it reaches.

flowchart LR
  SELF["tools-lexicon-report"]
  SELF -->|development| n_tools_cli_conformance["tools-cli-conformance"]
  classDef self fill:#1f883d,stroke:#1f883d,color:#fff;
  class SELF self;

Feature flags

No Cargo features are defined: every capability is unconditional, so no consumer can receive a half-wired crate.

Targets

KindNameSource
bintools-lexicon-report`src/main.rs`
libtools_lexicon_report`src/lib.rs`

Error model

No public error type was detected: no public item declares a type named *Error, and no public signature returns one.

Operational characteristics

PropertyEvidence
async public surfacenone detected
async runtimenone detected
database accessnone detected
network I/Onone detected
unsafe codenone detected
environment variablesnone detected

No unsafe block, unsafe fn, unsafe impl or unsafe trait was found by the parser anywhere in this crate's source.

Configuration

No environment variable is read with a literal name anywhere in this crate. A variable whose key is computed at run time cannot be listed here, and is not claimed to be absent.

No workspace crate depends on this one.

Verification

KindCount
Unit tests5
Integration tests0
Examples0
Doctests0

Evidence by module. How often each public module is named by something executable.

ModuleTestsExamplesConsumers
crate root300

What the tests establish, by name:

Documentation coverage

MeasureDocumentedTotal
Public items with rustdoc33
Public modules with a //! block00
pie showData
    title Public items with rustdoc
    "Documented" : 3
    "No rustdoc detected" : 0

Metrics

MetricValue
Rust source files2
Source lines275
Code lines210
Public API items3
Public modules0
Tests5
Examples0
Cargo features0
Direct runtime dependencies2
Workspace reverse dependencies0
pie showData
    title Public API by kind
    "function" : 2
    "struct" : 1
pie showData
    title Rust source composition
    "Code" : 210
    "Blank or comment" : 65

Generation

Rendered by tools-corpus corpus readme from repository evidence alone, renderer schema 2, lexicon current. No model, network service or database was consulted. Regenerate with tools-corpus corpus readme --write; verify with --check.

Todas las tools · Manual