Cargo Features
ark-module has no features set by default.
[dependencies]
ark-module = { version = "0.17.0-pre.24", features = ["behavior", "unstable-servlet", "with_async", "with_serde"] }
- behavior
- unstable-servlet = http, httparse
-
cmdlet?
applet
transformEnables unstable of ark-api-ffi
- with_async = futures
-
Enable async support.
This enables async functions in the APIs and the Wasm future runtimeAffects
cmdlet::async_run
… - with_serde = flexbuffers, serde
-
Enable serialization support.
This enables serialization/deserialization support for most typesAffects
applet::AppletPersist
,applet::serialize_state
,applet::deserialize_state
…
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.
- flexbuffers with_serde?
-
Enables flexbuffers
optional dependencies
for AppletPersist - futures with_async?
- http unstable-servlet?
-
Enables http ^0.2.8
note: few types from this is part of the public API, so care has to be done on upgrades wrt to semver changes
- httparse unstable-servlet?
- serde with_serde?