[package]
edition = "2021"
name = "dig-rpc-types"
version = "0.1.0"
build = false
include = [
"src/**/*.rs",
"tests/**/*.rs",
"Cargo.toml",
"Cargo.lock",
"README.md",
"LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JSON-RPC wire types shared by the DIG Network fullnode + validator RPC servers and their clients. Pure types — no I/O, no async, no logic."
homepage = "https://github.com/DIG-Network/dig-rpc-types"
documentation = "https://docs.rs/dig-rpc-types"
readme = "README.md"
keywords = [
"dig-network",
"json-rpc",
"chia",
"wire-format",
"rpc",
]
categories = [
"cryptography::cryptocurrencies",
"api-bindings",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/DIG-Network/dig-rpc-types"
[features]
client = ["dep:reqwest"]
default = []
schema-export = ["dep:schemars"]
[lib]
name = "dig_rpc_types"
path = "src/lib.rs"
[[test]]
name = "wire_snapshots"
path = "tests/wire_snapshots.rs"
[dependencies.hex]
version = "0.4"
[dependencies.reqwest]
version = "0.12"
features = [
"blocking",
"json",
"rustls-tls",
]
optional = true
default-features = false
[dependencies.schemars]
version = "0.8"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_repr]
version = "0.1"
[dependencies.thiserror]
version = "1"
[dev-dependencies.insta]
version = "1"
features = ["json"]
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"