Cargo Features

[dependencies]
ssp-server = { version = "0.4.0", default-features = false, features = ["test-rainbow", "jsonrpc", "mock", "test-e2e"] }
default = jsonrpc

The jsonrpc feature is set by default whenever ssp-server is added without default-features = false somewhere in the dependency tree.

test-crypto test-rainbow
jsonrpc default = serde_json, smol-jsonrpc

Enables jsonrpc of ssp

Required by the jsonrpc_ssp_server binary

mock

Affects ssp-server::mock

test-e2e

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.

serde_json jsonrpc
smol-jsonrpc jsonrpc