Crate marine_rs_sdk_main

Source
Expand description

The main part of Fluence backend SDK. Contains export_allocator, logger and result modules.

Macros§

debug_log
module_manifest

Structs§

WasmLoggerBuilder
The Wasm logger builder.

Constants§

MANIFEST_SECTION_NAME
VERSION_SECTION_NAME
WASM_LOG_ENV_NAME
By default, logger will be initialized with log level from this environment variable.

Type Aliases§

TargetMap
Mapping from logging namespace string to its bitmask. TODO: use i64 for bitmask when wasmpack/bindgen issue with i64 is fixed. Currently, i64 doesn’t work on some versions of V8 because log_utf8_string function isn’t marked as #[wasm_bindgen]. In result, TS/JS code throws ‘TypeError’ on every log.