1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! The Neptune JSON-RPC API contract.
//!
//! This crate holds the client-facing surface of the node's JSON-RPC: the
//! [`RpcApi`](api::rpc::RpcApi) trait plus the `Rpc*` data-transfer model types.
//! It is node-independent — it depends only on the shared library crates, not on
//! neptune-core — so clients (and the RPC client crate) can speak the API
//! without pulling in the whole node. The node implements the server side.
/// Test-only helpers. Mirrors the per-crate `shared_tokio_runtime` macro
/// convention used across the workspace; delegates to the shared runtime in
/// `neptune-consensus` so async tests can run under `#[apply(...)]`.
pub use shared_tokio_runtime;
}