lib-misc-utils · crate

codespan-reporting

Libraryenvironment

Kinogaki's own codespan-reporting, published under the crates.io name so the frozen naga resolves to it through [patch.crates-io].

Repository
lib-misc-utils (kinogaki/lib-misc-utils)
Folder
libs/lib-misc-utils/crates/codespan-reporting
Source
4 files, 623 lines
Tests
1 file, 124 lines
This crate codespan-reporting
depends onused by tests alonedependencies for tests alone are listed below, not drawn

What it is

Kinogaki's own codespan-reporting, published under the crates.io name so the frozen naga resolves to it through [patch.crates-io]. It is not upstream codespan-reporting: it renders naga's shader diagnostics (one message, labelled source spans, notes) as plain text in codespan's rich layout:

No colors and no terminal handling. Columns count characters, with tabs expanded to Config::tab_width spaces (shader sources are ASCII, so no Unicode width tables are needed).

Depends on

None.

Third-party

None.

Used by

None.

Third-party crates using it

naga

Modules

Public types and traits

By module: 10 public types and traits in 3 modules

diagnostic DiagnosticLabelLabelStyleSeverity

files ErrorFilesLocationSimpleFile

term ConfigDisplayStyle

Besides these, 4 public functions at module level.