Generate core runtime API shims

This commit is contained in:
2026-08-08 12:28:41 +02:00
parent 7086af9a6f
commit a007313785
12 changed files with 7223 additions and 536 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -18,6 +18,27 @@ pub mod message_pack {
pub struct MessagePackWriter;
}
/// Project-owned boundary types for external logging signatures.
pub mod logging {
pub trait ILoggerFactory {}
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub struct LogLevel(pub i32);
}
/// Project-owned boundary types for external networking signatures.
pub mod net {
pub struct RateLimiter;
pub struct Socket;
pub struct TcpStream;
pub struct UdpSocket;
}
/// Project-owned boundary types for external service-collection signatures.
pub mod services {
pub trait IServiceCollection {}
}
/// Common behavior for program shims while the network stack is unimplemented.
pub mod shim {
use std::process::ExitCode;