[package]
name = "awkrs"
version = "0.4.5"
edition = "2021"
# `parity/` stays in the git repo for local/CI testing vs gawk; omit from `cargo package` / crates.io tarball.
exclude = ["/parity/", "/.github/", "/tests/", "/docs/"]
description = "Awk implementation in Rust with broad CLI compatibility, parallel records, and experimental Cranelift JIT"
license = "MIT"
repository = "https://github.com/MenkeTechnologies/awkrs"
readme = "README.md"
keywords = ["awk", "cli", "text-processing"]
categories = ["command-line-utilities", "parser-implementations"]

[lib]
name = "awkrs"
path = "src/lib.rs"

[[bin]]
name = "awkrs"
path = "src/main.rs"

[[bin]]
name = "aw"
path = "src/bin/ars.rs"

[dependencies]
bincode = "1.3"
chrono = "0.4"
clap = { version = "4.5", features = ["derive", "cargo", "env"] }
dirs = "5"
gettext = "0.4"
fusevm = { version = "0.12.1", features = ["jit"] }
cranelift-codegen = "0.130.0"
cranelift-frontend = "0.130.0"
cranelift-jit = "0.130.0"
cranelift-module = "0.130.0"
cranelift-native = "0.130.0"
libc = "0.2"
memchr = "2.7"
memmap2 = "0.9"
nix = { version = "0.29", features = ["fs"] }
once_cell = "1"
parking_lot = "0.12"
rayon = "1.10"
gmp-mpfr-sys = "1.7"
regex = "1.10"
rkyv = { version = "0.7", features = ["validation", "archive_le", "size_32"] }
serde = { version = "1", features = ["derive"] }
socket2 = "0.5"
rug = "1.29.0"
rustc-hash = "2.1"
target-lexicon = "0.13.5"
thiserror = "2.0"
walkdir = "2.5"

[dev-dependencies]
tempfile = "3"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("vms"))'] }

