prqlc 0.13.11

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement.
Documentation
#[cfg(all(not(target_family = "wasm"), feature = "cli"))]
mod cli;

#[cfg(all(not(target_family = "wasm"), feature = "cli"))]
fn main() -> color_eyre::eyre::Result<()> {
    // Use a larger stack size (8 MiB) to avoid stack overflows on Windows,
    // where the default stack is only 1 MiB.
    const STACK_SIZE: usize = 8 * 1024 * 1024;

    let thread = std::thread::Builder::new()
        .stack_size(STACK_SIZE)
        .spawn(cli::main)
        .expect("failed to spawn main thread");

    thread.join().expect("main thread panicked")?;
    Ok(())
}

#[cfg(any(target_family = "wasm", not(feature = "cli")))]
fn main() {
    panic!("Crate is not built with the `cli` feature enabled, or was built for a wasm target.");
}