Cargo Features
[dependencies]
restate-sdk = { version = "0.3.2", default-features = false, features = ["hyper", "http_server", "rand", "uuid"] }
- default = http_server, rand, uuid
-
These default features are set whenever
restate-sdk
is added without
somewhere in the dependency tree.default-features = false - hyper http_server = http-body-util
-
Enables hyper, http of restate-sdk-shared-core
Affects
restate-sdk::hyper
… - http_server default = hyper, hyper-util
-
Enables http2 and server of hyper, macros, net and signal of tokio
Affects
restate-sdk::http_server
…
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.
- http-body-util hyper?
- hyper-util http_server
- rand default
-
Affects
context::ContextSideEffects.rand
,context::ContextSideEffects.rand_uuid
… - uuid default
-
Affects
context::ContextSideEffects.rand_uuid
…