Cargo Features

[dependencies]
hyveos-sdk = { version = "0.1.0", default-features = false, features = ["network", "serde", "json", "cbor", "scripting"] }
default = cbor

The cbor feature is set by default whenever hyveos-sdk is added without default-features = false somewhere in the dependency tree.

network

Enables http, hyveos-ifaddr, reqwest, tokio-stream, tokio-util, and url, serde of hyveos-core

Affects connection::UriConnection

serde cbor json?

Enables serde, serde of hyveos-core

Affects gossipsub::TypedMessage, req_resp::TypedResponse, req_resp::TypedService, req_resp::TypedInboundRequestHandle

json = serde

Enables serde_json

Affects req_resp::JsonService

cbor default = serde

Enables serde_cbor

Affects req_resp::CborService

scripting

Enables scripting of hyveos-core

Affects services::scripting