Cargo Features

[dependencies]
marine-rs-sdk = { version = "0.14.0", default-features = false, features = ["debug", "logger", "no-explicit-ctors-call", "marine-abi"] }
default = marine-abi

The marine-abi feature is set by default whenever marine-rs-sdk is added without default-features = false somewhere in the dependency tree.

debug

Print some internal logs by log_utf8_string

Enables debug of marine-rs-sdk-main

warning: silent compilation break on minor verison bump. See docs/update-guide.md for details

logger

Enable logger (this will cause log_utf8_string to appear in imports)

Enables logger of marine-rs-sdk-main

no-explicit-ctors-call

Remove _initialize function with explicit call to __wasm_call_ctors

marine-abi default

Enable #[marine] attribute on structures and IT exports

Enables marine-abi of marine-call-parameters and marine-rs-sdk-main

Affects marine-rs-sdk::internal