alejandra 3.1.0

The Uncompromising Nix Code Formatter
Documentation
//! Alejandra takes your Nix code and re-formats it in a consistent style.
//!
//! For more information please visit the
//! [Alejandra repository on GitHub](https://github.com/kamadorueda/alejandra).
#![deny(missing_docs)]
#![deny(rustdoc::bare_urls)]
#![deny(rustdoc::broken_intra_doc_links)]
#![deny(rustdoc::invalid_codeblock_attributes)]
#![deny(rustdoc::invalid_html_tags)]
#![deny(rustdoc::invalid_rust_codeblocks)]
#![deny(rustdoc::missing_crate_level_docs)]
#![deny(rustdoc::private_intra_doc_links)]
#![deny(rustdoc::private_doc_tests)]

#[cfg(any(
    // aarch64-unknown-linux-musl
    all(
        target_arch = "aarch64",
        target_vendor = "unknown",
        target_os = "linux",
        target_env = "musl"
    ),
    // arm-unknown-linux-musleabihf
    all(
        target_arch = "arm",
        target_vendor = "unknown",
        target_os = "linux",
        target_env = "musl",
        target_abi = "eabihf"
    ),
    // i686-unknown-linux-musl
    all(
        target_arch = "x86",
        target_vendor = "unknown",
        target_os = "linux",
        target_env = "musl"
    ),
    // x86_64-unknown-linux-gnu
    // x86_64-unknown-linux-musl
    all(
        target_arch = "x86_64",
        target_vendor = "unknown",
        target_os = "linux",
        any(target_env = "gnu", target_env = "musl")
    ),
))]
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;

pub(crate) mod builder;
pub(crate) mod children;
pub(crate) mod children2;
/// Functions for formatting Nix code.
pub mod format;
pub(crate) mod parsers;
pub(crate) mod position;
pub(crate) mod rules;
pub(crate) mod utils;
/// Metadata.
pub mod version;