1#![doc = include_str!("../README.md")]
2#![cfg_attr(docsrs, feature(doc_cfg))]
3#![allow(
4 clippy::allow_attributes,
5 reason = "macros (internal + serde) make this lint hard to satisfy"
6)]
7
8mod constants;
9#[cfg(any(feature = "serde", feature = "epee"))]
10mod defaults;
11mod free;
12mod macros;
13mod rpc_call;
14
15#[cfg(feature = "serde")]
16mod serde;
17
18pub mod base;
19pub mod bin;
20pub mod json;
21pub mod misc;
22pub mod other;
23
24pub use constants::{
25 CORE_RPC_STATUS_BUSY, CORE_RPC_STATUS_NOT_MINING, CORE_RPC_STATUS_OK,
26 CORE_RPC_STATUS_PAYMENT_REQUIRED, CORE_RPC_VERSION, CORE_RPC_VERSION_MAJOR,
27 CORE_RPC_VERSION_MINOR,
28};
29pub use rpc_call::{RpcCall, RpcCallValue};
30
31#[cfg(test)]
33mod test {
34 extern crate cuprate_test_utils;
35 extern crate serde_json;
36}