Cargo Features
[dependencies]
sails-rs = { version = "0.7.0", default-features = false, features = ["debug", "ethexe", "gclient", "gstd", "gtest", "idl-gen", "mockall", "wasm-builder"] }
- default = gstd
-
The
gstd
feature is set by default wheneversails-rs
is added without
somewhere in the dependency tree.default-features = false - 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