windjammer_runtime/
lib.rs

1//! Windjammer Runtime Library
2//!
3//! This crate provides the actual Rust implementations for Windjammer's standard library.
4//! When you write `use std::http` in Windjammer, the compiler generates code that calls
5//! functions from this crate.
6
7// Platform-specific implementations
8pub mod platform;
9
10// Core modules (fully implemented)
11pub mod fs;
12#[cfg(feature = "server")]
13pub mod http;
14pub mod json;
15pub mod mime;
16
17// Additional stdlib modules
18#[cfg(feature = "server")]
19pub mod async_runtime;
20pub mod cli;
21pub mod collections;
22pub mod crypto;
23pub mod csv_mod;
24pub mod db;
25pub mod encoding;
26pub mod env;
27pub mod io;
28pub mod log_mod;
29pub mod math;
30pub mod path;
31pub mod process;
32pub mod random;
33pub mod regex_mod;
34pub mod strings;
35pub mod sync;
36pub mod testing;
37pub mod thread;
38pub mod time;
39
40// Re-export commonly used types
41#[cfg(feature = "server")]
42pub use http::{Request, Response, Router, ServerResponse};