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
8#[cfg(feature = "__not_public_32_bit")]
9use getrandom as _;
10
11mod constants;
12#[cfg(any(feature = "serde", feature = "epee"))]
13mod defaults;
14mod free;
15#[cfg(feature = "from")]
16mod from;
17mod macros;
18mod rpc_call;
19
20#[cfg(feature = "serde")]
21mod serde;
22
23pub mod base;
24pub mod bin;
25pub mod json;
26pub mod misc;
27pub mod other;
28
29pub use constants::{
30 CORE_RPC_STATUS_BUSY, CORE_RPC_STATUS_FAILED, CORE_RPC_STATUS_NOT_MINING, CORE_RPC_STATUS_OK,
31 CORE_RPC_STATUS_PAYMENT_REQUIRED, CORE_RPC_VERSION, CORE_RPC_VERSION_MAJOR,
32 CORE_RPC_VERSION_MINOR,
33};
34pub use rpc_call::{RpcCall, RpcCallValue};
35
36#[cfg(test)]
38mod test {
39 extern crate cuprate_test_utils;
40 extern crate serde_json;
41}