query-forge 0.5.0

Run SQL queries on XLSX/XML/CSV/JSON/JSONL/Markdown/HTML/Parquet inputs and export results as text, CSV, JSONL, Markdown, XML, HTML, XLSX, or Parquet
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::path::PathBuf;

fn main() {
	let icon_png = PathBuf::from("resources/ChatGPT Image 4 lug 2026, 18_12_31.png");
	let icon_ico = PathBuf::from("resources/query-forge.ico");
	println!("cargo:rerun-if-changed={}", icon_png.display());
	println!("cargo:rerun-if-changed={}", icon_ico.display());

	if std::env::var("CARGO_CFG_TARGET_OS").ok().as_deref() != Some("windows") {
		return;
	}

	let mut resources = winres::WindowsResource::new();
	resources.set_icon(icon_ico.to_str().expect("icon path is not valid UTF-8"));
	resources
		.compile()
		.expect("failed to compile Windows resources");
}