rsconstruct 0.9.17

Rust based fast build system
Documentation
//! taplo checker — registered as a {SimpleChecker}.

use crate::processors::SimpleChecker;
use crate::config::SimpleCheckerParams;

fn create_taplo(toml: &toml::Value) -> anyhow::Result<Box<dyn crate::processors::Processor>> {
    crate::registries::deserialize_and_create(toml, |cfg| Box::new(SimpleChecker::new(cfg, SimpleCheckerParams { description: "Check TOML files using taplo", subcommand: Some("check"), prepend_args: &[], extra_tools: &[], fix_subcommand: Some("fmt"), fix_prepend_args: &[], fix_batch: None })))
}
inventory::submit! { crate::registries::ProcessorPlugin {
    version: 1,
    name: "taplo", processor_type: crate::processors::ProcessorType::Checker, create: create_taplo,
    known_fields: crate::registries::typed_known_fields::<crate::config::StandardConfig>,
    checksum_fields: crate::registries::typed_checksum_fields::<crate::config::StandardConfig>,
    must_fields: crate::registries::typed_must_fields::<crate::config::StandardConfig>,
    field_descriptions: crate::registries::typed_field_descriptions::<crate::config::StandardConfig>,
    defconfig_json: crate::registries::default_config_json::<crate::config::StandardConfig>,
    keywords: &["toml", "formatter", "linter", "validator"],
    description: "Check TOML files using taplo",
    is_native: false,
    can_fix: true,
    supports_batch: true,
    max_jobs_cap: None,
} }