crate-cli 11.0.0

A command-line tool for managing Cargo package lifecycles: version bump, workspace dependency sync, members-ordered publish and code formatting.
Documentation
use super::*;

/// Cached canonical VS Code Prettier 3.7.4 and Taplo 0.7.0 multi-language options.
pub(crate) static VSCODE_TIDY_OPTIONS: LazyLock<Options> = LazyLock::new(build_vscode_tidy_options);

/// Cached VS Code Prettier 3.7.4 `json` dialect options.
pub(crate) static VSCODE_JSON_OPTIONS: LazyLock<tidy::json::Options> = LazyLock::new(|| {
    let mut opts: tidy::json::Options = VSCODE_TIDY_OPTIONS.json.clone();
    opts.dialect = tidy::json::Dialect::Json;
    opts
});

/// Cached VS Code Prettier 3.7.4 `json-stringify` dialect options.
pub(crate) static VSCODE_JSON_STRINGIFY_OPTIONS: LazyLock<tidy::json::Options> =
    LazyLock::new(|| {
        let mut opts: tidy::json::Options = VSCODE_TIDY_OPTIONS.json.clone();
        opts.dialect = tidy::json::Dialect::Stringify;
        opts
    });

/// Cached VS Code Prettier 3.7.4 `jsonc` dialect options.
pub(crate) static VSCODE_JSONC_OPTIONS: LazyLock<tidy::json::Options> = LazyLock::new(|| {
    let mut opts: tidy::json::Options = VSCODE_TIDY_OPTIONS.json.clone();
    opts.dialect = tidy::json::Dialect::Jsonc;
    opts
});