2024-06-05 14:35:08 +00:00
|
|
|
[package]
|
|
|
|
name = "cuprate-rpc-interface"
|
|
|
|
version = "0.0.0"
|
|
|
|
edition = "2021"
|
|
|
|
description = "Cuprate's RPC interface library"
|
|
|
|
license = "MIT"
|
|
|
|
authors = ["hinto-janai"]
|
|
|
|
repository = "https://github.com/Cuprate/cuprate/tree/main/rpc/cuprate-rpc-interface"
|
|
|
|
keywords = ["cuprate", "rpc", "interface"]
|
|
|
|
|
|
|
|
[features]
|
2024-09-08 14:52:17 +00:00
|
|
|
default = ["dummy", "serde"]
|
|
|
|
dummy = []
|
2024-06-05 14:35:08 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-08-05 23:50:38 +00:00
|
|
|
cuprate-epee-encoding = { path = "../../net/epee-encoding", default-features = false }
|
|
|
|
cuprate-json-rpc = { path = "../json-rpc", default-features = false }
|
|
|
|
cuprate-rpc-types = { path = "../types", features = ["serde", "epee"], default-features = false }
|
|
|
|
cuprate-helper = { path = "../../helper", features = ["asynch"], default-features = false }
|
|
|
|
|
2024-09-08 14:52:17 +00:00
|
|
|
anyhow = { workspace = true }
|
2024-08-05 23:50:38 +00:00
|
|
|
axum = { version = "0.7.5", features = ["json"], default-features = false }
|
|
|
|
serde = { workspace = true, optional = true }
|
|
|
|
tower = { workspace = true }
|
|
|
|
paste = { workspace = true }
|
|
|
|
futures = { workspace = true }
|
2024-06-05 14:35:08 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-09-02 17:12:54 +00:00
|
|
|
cuprate-test-utils = { path = "../../test-utils" }
|
|
|
|
|
2024-08-05 23:50:38 +00:00
|
|
|
axum = { version = "0.7.5", features = ["json", "tokio", "http2"] }
|
|
|
|
serde_json = { workspace = true, features = ["std"] }
|
|
|
|
tokio = { workspace = true, features = ["full"] }
|
2024-09-22 18:34:20 +00:00
|
|
|
ureq = { version = "2.10.1", features = ["json"] }
|
2024-09-02 17:12:54 +00:00
|
|
|
|
|
|
|
[lints]
|
2024-09-22 18:34:20 +00:00
|
|
|
workspace = true
|