[dependencies.chrono]
features = ["serde"]
version = "0.4.31"
[dependencies.dumbeq]
version = "0.1.2"
[dependencies.filetime]
version = "0.2.25"
[dependencies.glob]
version = "0.3.1"
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.regex]
features = ["use_std"]
version = "1.10.3"
[dependencies.sanitation]
version = "1.0.3"
[dependencies.serde]
features = ["derive"]
version = "1.0.219"
[dependencies.shlex]
version = "1.3.0"
[dependencies.thread-groups]
version = "0.1.2"
[dependencies.trilobyte]
version = "0.1.2"
[dev-dependencies.clap]
features = ["derive"]
version = "4.5.20"
[dev-dependencies.serde_json]
version = "1.0.140"
[lib]
name = "iocore"
path = "iocore/lib.rs"
[package]
authors = ["Gabriel DeMoura <gabrielteratos@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["filesystem"]
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.
"""
documentation = "https://docs.rs/iocore"
edition = "2021"
homepage = "https://github.com/gabrielfalcao/iocore/tree/main/crates/iocore"
keywords = ["io", "path", "unix", "filesystem", "system"]
license = "MIT OR Apache-2.0"
name = "iocore"
readme = "README.md"
repository = "https://github.com/gabrielfalcao/iocore"
version = "3.0.2"
[package.metadata]
cargo-args = ["-Zmtime-on-use", "-Zavoid-dev-deps", "-Zcustom_mir"]
[[test]]
name = "test_fs_path_utils"
path = "tests/test_fs_path_utils.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"