lib 0.0.4

A Rust foundation library organized around the built-in capabilities of the Java JDK and C#/.NET standard libraries.
Documentation
//! 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.

pub mod cli;
pub mod collections;
pub mod compression;
pub mod core;
pub mod database;
pub mod encoding;
pub mod errors;
pub mod fs;
pub mod globalization;
pub mod io;
pub mod logging;
pub mod math;
pub mod net;

pub mod prelude;
pub mod process;

#[cfg(feature = "random")]
pub mod rand;

pub mod security;
pub mod serialization;
pub mod sync;
pub mod system;
pub mod task;
pub mod text;
pub mod time;

#[cfg(test)]
mod tests {
    #[test]
    #[cfg(feature = "random")]
    fn rand_api_is_exported() {
        let _: u8 = crate::rand::random();
        let _ = crate::rand::rng();
    }

    #[test]
    fn standard_library_facade_is_available() {
        let mut values = crate::collections::HashMap::new();
        values.insert("answer", 42);
        assert_eq!(values["answer"], 42);
        assert_eq!(crate::time::Duration::from_secs(1).as_millis(), 1_000);
    }
}