Generate core runtime API shims

This commit is contained in:
hugo committed 2026-08-08 12:28:41 +02:00
1 parent 7086af9a6f
commit a007313785
12 files changed
+7223 -536

No files matched your search

File diff suppressed because it is too large. Load diff
+21
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;