mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-11-16 15:58:14 +00:00
Boog900
44981f2b24
* add workflow * fix errors * fix workflow * install dependencies * fix more errors * Update CONTRIBUTING.md * Update CONTRIBUTING.md Co-authored-by: hinto-janai <hinto.janai@protonmail.com> * fix hack + enable it for cuprate-database * move hack to main CI * fix docs * fix ci formatting * fix txpool tests * fix CONTRIBUTING.md formatting * service -> tower::Service * review fixes * review fixes * fix CI --------- Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
37 lines
1.4 KiB
TOML
37 lines
1.4 KiB
TOML
[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]
|
|
default = ["dummy", "serde"]
|
|
dummy = ["dep:cuprate-helper", "dep:futures"]
|
|
|
|
[dependencies]
|
|
cuprate-epee-encoding = { workspace = true, default-features = false }
|
|
cuprate-json-rpc = { workspace = true, default-features = false }
|
|
cuprate-rpc-types = { workspace = true, features = ["serde", "epee"], default-features = false }
|
|
cuprate-helper = { workspace = true, features = ["asynch"], default-features = false, optional = true }
|
|
|
|
anyhow = { workspace = true }
|
|
axum = { version = "0.7.5", features = ["json"], default-features = false }
|
|
serde = { workspace = true, optional = true }
|
|
tower = { workspace = true, features = ["util"] }
|
|
paste = { workspace = true }
|
|
futures = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
cuprate-test-utils = { workspace = true }
|
|
|
|
axum = { version = "0.7.5", features = ["json", "tokio", "http2"] }
|
|
serde_json = { workspace = true, features = ["std"] }
|
|
tokio = { workspace = true, features = ["full"] }
|
|
ureq = { version = "2.10.1", features = ["json"] }
|
|
|
|
[lints]
|
|
workspace = true
|