#io #path #unix #testing #system

iocore-test

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

10 releases (stable)

new 3.0.1 Apr 28, 2025
3.0.0 Apr 27, 2025
2.3.2 Apr 26, 2025
1.0.1 Apr 9, 2025
0.1000.0 Feb 18, 2025

#1854 in Filesystem

Download history 105/week @ 2025-02-17 5/week @ 2025-02-24 2/week @ 2025-03-03 207/week @ 2025-03-24 13/week @ 2025-03-31 246/week @ 2025-04-07 15/week @ 2025-04-14 294/week @ 2025-04-21

578 downloads per month

MIT/Apache

145KB
3.5K SLoC

iocore_test is a testing tool for crates that utilize the iocore crate.


IOCore Test

companion testing library for the iocore crate.

Dependencies

~3–12MB
~127K SLoC