#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

12 releases (stable)

new 3.0.3 May 6, 2025
3.0.2 May 4, 2025
3.0.1 Apr 28, 2025
2.3.2 Apr 26, 2025
0.1000.0 Feb 18, 2025

#1800 in Filesystem

Download history 95/week @ 2025-02-15 15/week @ 2025-02-22 2/week @ 2025-03-01 189/week @ 2025-03-22 31/week @ 2025-03-29 223/week @ 2025-04-05 36/week @ 2025-04-12 197/week @ 2025-04-19 420/week @ 2025-04-26 251/week @ 2025-05-03

933 downloads per month
Used in dnsmasq-conf

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

~4–12MB
~129K SLoC