[package]
name = "switchboard-utils"
version = "0.8.2"
edition = "2021"
description = "Switchboard utilities for custom functions and OracleJob protobuf definitions"
include = ["/src", "/protos"]
readme = "README.md"
homepage = "https://switchboard.xyz"
repository = "https://github.com/switchboard-xyz/switchboard/tree/main/rust/switchboard-utils"
license = "MIT"

[features]
default = []

[dependencies]
switchboard-common = { version = "0.8.18", path = "../switchboard-common", features = [
    "client",
] }
prost = "0.11.9"
bytes = "1.4.0"
reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1", features = ["full"] }
jsonpath-rust = "0.3.0"
url = "2.3.1"
futures-util = "0.3.28"
futures-channel = "0.3"
bytestring = "1.3.0"
serde = { version = "^1", features = ["derive"] }
serde_json = "^1"
serde_derive = "^1"

[dev-dependencies]
mockito = "^1.0.2"

[build-dependencies]
prost-build = { version = "0.11.9", features = ["cleanup-markdown"] }

[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "doc_cfg"]
