docs.rs failed to build gts-validator-0.8.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
gts-validator
GTS identifier validator for documentation and configuration files (.md, .json, .yaml).
Overview
gts-validator provides a library for validating GTS (Global Type System) identifiers found in documentation and configuration files.
The crate provides a clean separation between:
- Core validation engine (input-agnostic): normalize → validate → report
- Input strategies (starting with filesystem scanning)
Usage
use PathBuf;
use ;
let mut fs_config = default;
fs_config.paths = vec!;
fs_config.exclude = vec!;
let mut validation_config = default;
validation_config.vendor = Some;
let report = validate_fs.unwrap;
println!;
println!;
println!;
Output Formatting
The crate includes output formatters for rendering validation reports:
use output;
// JSON output
let mut stdout = stdout;
write_json.unwrap;
// Human-readable output (with color support)
write_human.unwrap;
License
Apache-2.0