Expand description
A Rust foundation library organized around the built-in capabilities of the Java JDK and C#/.NET standard libraries.
The crate provides stable module paths for Rust’s standard library and
widely used ecosystem crates. Heavy integrations are feature-gated; enable
full when an application wants the complete facade.
Modules§
- cli
- Command-line parsing, corresponding to application argument handling in Java and .NET.
- collections
- Collections and iterator helpers, comparable to
java.util, Java Streams, and .NET collections/LINQ. - compression
- ZIP, gzip/DEFLATE, and TAR archive support.
- core
- Fundamental language and value utilities, comparable to
java.langand the coreSystemnamespace in .NET. - database
- Async database access for PostgreSQL, MySQL, and SQLite, comparable to JDBC and ADO.NET data providers.
- encoding
- Base64, hexadecimal, URL, and UUID handling.
- errors
- Standard and application error handling.
- fs
- Files, directories, paths, temporary files, globs, traversal, and file
watching, comparable to
java.io,java.nio.file, andSystem.IO. - globalization
- Locale-sensitive formatting, calendars, collation, normalization, segmentation, and other internationalization services.
- io
- Synchronous I/O plus optional byte-buffer support.
- logging
- Logging and structured diagnostics.
- math
- Floating-point helpers, arbitrary precision integers, numeric traits, and
decimal arithmetic, comparable to
java.mathandSystem.Numerics. - net
- TCP/UDP networking plus optional URLs, HTTP clients/types, byte buffers, and TLS.
- prelude
- Frequently used types and extension traits for application code.
- process
- Environment variables and child-process management.
- rand
- Random number generation utilities.
- security
- Cryptographic primitives and TLS building blocks.
- serialization
- Data models and JSON, TOML, and XML serialization.
- sync
- Threads, synchronization primitives, concurrent collections, channels, and data parallelism, comparable to Java and .NET concurrency APIs.
- system
- Operating-system information and optional dynamic-library loading.
- task
- Futures, asynchronous tasks, executors, timers, and async I/O.
- text
- Strings, formatting, regular expressions, and Unicode grapheme handling,
comparable to
java.lang.String,java.util.regex, and .NET text APIs. - time
- Durations, instants, calendar dates, times, and time zones.