Skip to main content

Crate astrid_sys

Crate astrid_sys 

Source
Expand description

Raw FFI bindings for the Astrid OS System API (The Airlocks).

This crate defines the absolute lowest-level, mathematically pure ABI. Every single parameter and return type across the WASM boundary is represented as raw bytes (Vec<u8>).

This provides true OS-level primitiveness: file paths can contain non-UTF-8 sequences, IPC topics can be binary hashes, and the Kernel never wastes CPU validating string encodings. All ergonomic serialization is handled entirely by the astrid-sdk User-Space layer.

Functions§

astrid_check_capsule_capability
astrid_clock_ms
astrid_cron_cancel
astrid_cron_schedule
astrid_elicit
astrid_fs_exists
astrid_fs_mkdir
astrid_fs_readdir
astrid_fs_stat
astrid_fs_unlink
astrid_get_caller
astrid_get_config
astrid_get_interceptor_handles
astrid_has_secret
astrid_http_request
astrid_identity_create_user
astrid_identity_link
astrid_identity_list_links
astrid_identity_resolve
astrid_identity_unlink
astrid_ipc_poll
astrid_ipc_publish
astrid_ipc_recv
astrid_ipc_subscribe
astrid_ipc_unsubscribe
astrid_kill_process_host
astrid_kv_clear_prefix
astrid_kv_delete
astrid_kv_get
astrid_kv_list_keys
astrid_kv_set
astrid_log
astrid_net_accept
astrid_net_bind_unix
astrid_net_close_stream
astrid_net_poll_accept
astrid_net_read
astrid_net_write
astrid_read_file
astrid_read_process_logs_host
astrid_request_approval
astrid_signal_ready
astrid_spawn_background_host
astrid_spawn_host
astrid_trigger_hook
astrid_uplink_register
astrid_uplink_send
astrid_write_file