Cargo Features

rktk-rrp has no features set by default.

[dependencies]
rktk-rrp = { version = "0.1.0", features = ["std", "server", "client", "tsify"] }
std client?

Enables std of futures, use-std of postcard

Affects endpoints::KeyboardInfo.name, endpoints::get_layout_json.Response

server

Enables embedded-io-async and heapless ^0.7.0

heapless:

server deps

Affects rktk-rrp::server, read::ReadTransportExt.recv_request_header, write::WriteTransportExt.send_response_header

client = std

Affects rktk-rrp::client, read::ReadTransportExt.recv_response_header, write::WriteTransportExt.send_request_header

tsify

Enables tsify-next and wasm-bindgen

tsify-next:

client deps

and tsify of rktk-keymanager

rktk-keymanager:

Enables type export by specta.