iocore 3.2.0

IOCore is a safe library for unix CLI tools and Systems programming. IOCore provides the [`iocore::Path`] abstraction of file-system paths designed to replace most [`std::path`] and [`std::fs`] operations with practical methods, other abstractions include: - handling file-system permissions via [`iocore::PathPermissions`] powered by the crate [`trilobyte`]. - handling file-system timestamps via [`iocore::PathTimestamps`] granularly via [`iocore::PathDateTime`]. IOCore provides the [`iocore::walk_dir`] function and its companion trait [`iocore::WalkProgressHandler`] which traverses file-systems quickly via threads. IOcore provides [`iocore::User`] which provides unix user information such as uid, path to home etc. The module [`iocore::env`] provides [`iocore::env:args`] returns a [`Vec<String>`] from [`std::env:args`], and [`iocore::env:var`] that returns environment variables as string.
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"
name = "iocore"
version = "3.2.0"
authors = ["Gabriel DeMoura <gabrielteratos@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
IOCore is a safe library for unix CLI tools and Systems programming.

IOCore provides the [`iocore::Path`] abstraction of file-system paths
designed to replace most [`std::path`] and [`std::fs`] operations with
practical methods, other abstractions include:

- handling file-system permissions via [`iocore::PathPermissions`]
  powered by the crate [`trilobyte`].

- handling file-system timestamps via [`iocore::PathTimestamps`]
  granularly via [`iocore::PathDateTime`].

IOCore provides the [`iocore::walk_dir`] function and its companion
trait [`iocore::WalkProgressHandler`] which traverses file-systems
quickly via threads.

IOcore provides [`iocore::User`] which provides unix user information
such as uid, path to home etc.

The module [`iocore::env`] provides [`iocore::env:args`] returns a
[`Vec<String>`] from [`std::env:args`], and [`iocore::env:var`] that
returns environment variables as string.
"""
homepage = "https://github.com/gabrielfalcao/iocore/tree/main/crates/iocore"
documentation = "https://docs.rs/iocore"
readme = "README.md"
keywords = [
    "io",
    "path",
    "unix",
    "filesystem",
    "system",
]
categories = ["filesystem"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/gabrielfalcao/iocore"
resolver = "2"

[package.metadata]
cargo-args = [
    "-Zmtime-on-use",
    "-Zavoid-dev-deps",
    "-Zcustom_mir",
]

[features]
walk-glob = ["dep:glob"]

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

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4.45"
features = ["serde"]

[dependencies.dumbeq]
version = "0.1.2"

[dependencies.filetime]
version = "0.2.29"

[dependencies.glob]
version = "0.3.4"
optional = true

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.regex]
version = "1.13.1"
features = ["use_std"]

[dependencies.sanitation]
version = "1.1.0"

[dependencies.serde]
version = "1.0.229"
features = ["derive"]

[dependencies.shlex]
version = "2.0.1"

[dependencies.thread-groups]
version = "0.1.2"

[dependencies.trilobyte]
version = "0.1.2"

[dev-dependencies.clap]
version = "4.6.6"
features = ["derive"]

[dev-dependencies.k9]
version = "0.12.0"

[dev-dependencies.serde_json]
version = "1.0.151"