- SSOT using profiles (aliases/packages via nyash.toml), AST prelude merge - Parser/member guards; Builder pin/PHI and instance→function rewrite (dev on) - VM refactors (handlers split) and JSON roundtrip/nested stabilization - CURRENT_TASK.md updated with scope and acceptance criteria Notes: dev-only guards remain togglable via env; no default behavior changes for prod.
26 lines
509 B
Rust
26 lines
509 B
Rust
//! Nyash Net Plugin (HTTP minimal) — TypeBox v2
|
|
//! Provides ServerBox/RequestBox/ResponseBox/ClientBox and socket variants.
|
|
//! Pure in-process HTTP over localhost for E2E of BoxRef args/returns.
|
|
|
|
mod logging;
|
|
pub(crate) use logging::net_log;
|
|
|
|
macro_rules! netlog {
|
|
($($arg:tt)*) => {{
|
|
let s = format!($($arg)*);
|
|
crate::net_log(&s);
|
|
}};
|
|
}
|
|
|
|
mod abi;
|
|
mod boxes;
|
|
mod consts;
|
|
mod ffi;
|
|
mod http_helpers;
|
|
mod sockets;
|
|
mod state;
|
|
mod tlv;
|
|
|
|
pub use abi::NyashTypeBoxFfi;
|
|
pub use boxes::*;
|