Cargo Features

[dependencies]
sails-rs = { version = "0.7.1", default-features = false, features = ["debug", "ethexe", "gclient", "gstd", "gtest", "idl-gen", "mockall", "wasm-builder"] }
default = gstd

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

debug

Enables debug of optional gstd

gstd:

Enables debug logging; this heavily impacts gas cost and is therefore disabled by default.

ethexe

Enables ethexe of optional gstd

gstd:

Additional features

Disables unsupported syscalls and their calls for executing on ethexe.

gclient

Enables gclient

Affects sails-rs::gclient

gstd default

Enables gear-core, gstd, and sails-macros

Affects sails-rs::gstd

gtest

Enables gtest

Affects sails-rs::gtest

idl-gen

Enables sails-idl-gen

mockall

Enables mockall ^0.12

Affects sails-rs::mockall

wasm-builder

Enables gear-wasm-builder