0ae8efd649
- Integrated 17 new coreutils-based shell builtins including `diff`, `date`, `ln`, `stat`, `seq`, `touch`, and others. - Refactored vendored utilities to execute as in-process shell builtins by routing I/O, environment access, and path resolution through `pi_uutils_ctx`. - Disabled process-level modifications (e.g., clock setting, hostname modification) to ensure safety and scope adherence within the shell environment. - Implemented shell-specific features such as cancellation polling, custom exit code management, and efficient output streaming for all new builtins.
22 lines
596 B
TOML
22 lines
596 B
TOML
# diff implemented from scratch on top of the `similar` diffing library, with
|
|
# I/O and path resolution routed through pi-uutils-ctx so it can run in-process
|
|
# as a shell builtin. Entry point: `pi_uu_diff::run`.
|
|
[package]
|
|
name = "pi_uu_diff"
|
|
version = "0.8.0"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
description = "diff ~ similar-backed file comparison (in-process shell builtin)"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["wrap_help"] }
|
|
pi-uutils-ctx = { path = "../pi-uutils-ctx" }
|
|
similar = "3.1.0"
|
|
|
|
[dev-dependencies]
|
|
parking_lot.workspace = true
|
|
tempfile = "3"
|