safa-api

Crates.iosafa-api
lib.rssafa-api
version0.4.3
created_at2025-03-20 20:33:33.820347+00
updated_at2025-08-11 04:01:19.834215+00
descriptionA high-level API over SafaOS's syscalls
homepage
repositoryhttps://github.com/SafaOS/safa-api
max_upload_size
id1599737
size90,090
Safi (safiworks)

documentation

README

safa-api

An API that exposes SafaOS's syscalls, and provides a higher-level interface over some syscalls.

crates.io docs.rs

Usage

Using in your rust project

simply run

cargo add safa-api

if you have std then you can also add the feature std

cargo add safa-api --features std

if you want to use it in any other project which is written in a language that has a C FFi (such as C, C++, etc.) proceed to the next section

Compiling to static library

there is a script build.sh which builds the library and the crt0 object to ./out directory.

run

./build.sh

and then link it to your project

Commit count: 67

cargo fmt