mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-23 03:59:31 +00:00
45 lines
1.4 KiB
TOML
45 lines
1.4 KiB
TOML
[package]
|
|
name = "cuprate-rpc-types"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
description = "Monero RPC types"
|
|
license = "MIT"
|
|
authors = ["hinto-janai"]
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/rpc/types"
|
|
keywords = ["cuprate", "rpc", "types", "monero"]
|
|
|
|
[features]
|
|
default = ["serde", "epee", "from"]
|
|
serde = ["dep:serde", "cuprate-fixed-bytes/serde", "cuprate-types/serde"]
|
|
epee = ["dep:cuprate-epee-encoding", "cuprate-types/epee"]
|
|
from = [
|
|
"dep:cuprate-helper",
|
|
"cuprate-helper/map",
|
|
"cuprate-helper/fmt",
|
|
"cuprate-types/rpc",
|
|
"dep:cuprate-p2p-core",
|
|
"dep:hex"
|
|
]
|
|
|
|
[dependencies]
|
|
cuprate-fixed-bytes = { workspace = true }
|
|
cuprate-hex = { workspace = true }
|
|
cuprate-epee-encoding = { workspace = true, optional = true }
|
|
cuprate-types = { workspace = true, default-features = false }
|
|
cuprate-helper = { workspace = true, optional = true, default-features = false }
|
|
cuprate-p2p-core = { workspace = true, optional = true, default-features = false }
|
|
|
|
paste = { workspace = true }
|
|
serde = { workspace = true, optional = true }
|
|
hex = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
cuprate-test-utils = { workspace = true }
|
|
|
|
hex-literal = { workspace = true }
|
|
pretty_assertions = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|