Crates.io | evil-janet |
lib.rs | evil-janet |
version | 1.36.0 |
source | src |
created_at | 2020-07-19 00:56:08.884037 |
updated_at | 2024-09-21 08:11:57.98597 |
description | Low level bindings to the janet language c api. |
homepage | |
repository | https://github.com/GrayJack/evil-janet |
max_upload_size | |
id | 266718 |
size | 3,270,930 |
This is a rust crate providing low level bindings to the janet C API.
The package major and minor versions follow the janet releases the bundled headers are compatible with. The patch version may, but does not necessarily match the janet release.
if the feature link-amalg is enabled, the crate will link the compiled janet amalgamation, otherwise this crate is header only, which is useful for building standalone janet modules.
These variables are only used when using the feature link-amalg
This crate uses environment variables to overwrite some Janet definitions.
JANET_RECURSION_GUARD=<integer>
JANET_MAX_PROTO_DEPTH=<integer>
JANET_MAX_MACRO_EXPAND=<integer>
JANET_STACK_MAX=<integer>
This crate makes no attempt memory safety. It is the bare minimum required to use the Janet API from Rust. For a higher level crate you can look for JanetRS.