Cargo Features

oasis-rpc has no features set by default.

[dependencies]
oasis-rpc = { version = "0.4.0", features = ["visitor", "resolve", "import", "saveload"] }
visitor

Affects oasis-rpc::visitor

resolve = import
import resolve? = saveload, url

Affects oasis-rpc::import

saveload import? = anyhow, libflate, serde_json, wasmparser

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

anyhow saveload?
libflate saveload?

Enables libflate ^0.1

serde_json saveload?
url import?
wasmparser saveload?

Enables wasmparser ^0.42