linuxutils-misc 0.1.0

Miscellaneous utilities from linuxutils
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "linuxutils-misc"
version = "0.1.0"
authors = ["Patrick Elsen <pelsen@xfbs.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Miscellaneous utilities from linuxutils"
readme = "README.md"
keywords = [
    "linux",
    "cli",
    "util-linux",
    "utilities",
]
categories = [
    "command-line-utilities",
    "os::linux-apis",
]
license = "MIT"
repository = "https://github.com/rustutils/linuxutils"
resolver = "2"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = []
all-features = true

[features]
cal = ["dep:chrono"]
copyfilerange = ["dep:libc"]
default = ["full"]
full = [
    "cal",
    "copyfilerange",
    "getopt",
    "kill",
    "logger",
    "look",
    "lslocks",
    "mcookie",
    "namei",
    "rename",
    "uuidgen",
    "uuidparse",
    "waitpid",
    "whereis",
]
getopt = []
kill = ["dep:rustix"]
logger = ["dep:rustix"]
look = []
lslocks = ["dep:cols"]
mcookie = []
namei = ["dep:rustix"]
rename = []
uuidgen = ["dep:uuid"]
uuidparse = [
    "dep:libc",
    "dep:uuid",
]
waitpid = ["dep:rustix"]
whereis = []

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

[[bin]]
name = "cal"
path = "src/bin/cal.rs"
required-features = ["cal"]

[[bin]]
name = "copyfilerange"
path = "src/bin/copyfilerange.rs"
required-features = ["copyfilerange"]

[[bin]]
name = "getopt"
path = "src/bin/getopt.rs"
required-features = ["getopt"]

[[bin]]
name = "kill"
path = "src/bin/kill.rs"
required-features = ["kill"]

[[bin]]
name = "logger"
path = "src/bin/logger.rs"
required-features = ["logger"]

[[bin]]
name = "look"
path = "src/bin/look.rs"
required-features = ["look"]

[[bin]]
name = "lslocks"
path = "src/bin/lslocks.rs"
required-features = ["lslocks"]

[[bin]]
name = "mcookie"
path = "src/bin/mcookie.rs"
required-features = ["mcookie"]

[[bin]]
name = "namei"
path = "src/bin/namei.rs"
required-features = ["namei"]

[[bin]]
name = "rename"
path = "src/bin/rename.rs"
required-features = ["rename"]

[[bin]]
name = "uuidgen"
path = "src/bin/uuidgen.rs"
required-features = ["uuidgen"]

[[bin]]
name = "uuidparse"
path = "src/bin/uuidparse.rs"
required-features = ["uuidparse"]

[[bin]]
name = "waitpid"
path = "src/bin/waitpid.rs"
required-features = ["waitpid"]

[[bin]]
name = "whereis"
path = "src/bin/whereis.rs"
required-features = ["whereis"]

[[test]]
name = "cal_cli"
path = "tests/cal_cli.rs"

[[test]]
name = "getopt_cli"
path = "tests/getopt_cli.rs"

[[test]]
name = "mcookie_cli"
path = "tests/mcookie_cli.rs"

[[test]]
name = "rename_cli"
path = "tests/rename_cli.rs"

[[test]]
name = "uuidgen_cli"
path = "tests/uuidgen_cli.rs"

[[test]]
name = "uuidparse_cli"
path = "tests/uuidparse_cli.rs"

[[test]]
name = "whereis_cli"
path = "tests/whereis_cli.rs"

[dependencies.chrono]
version = "0.4"
features = ["clock"]
optional = true
default-features = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.cols]
version = "0.3.2"
features = [
    "color",
    "derive",
    "regex",
]
optional = true

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.linuxutils-common]
version = "0.1.0"

[dependencies.rustix]
version = "1"
features = [
    "event",
    "fs",
    "mount",
    "process",
    "termios",
    "thread",
    "time",
]
optional = true

[dependencies.uuid]
version = "1"
features = [
    "v1",
    "v3",
    "v4",
    "v5",
    "v6",
    "v7",
]
optional = true

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"