[build-dependencies.anyhow]
version = "1.0"
[build-dependencies.prettyplease]
version = "0.2"
[build-dependencies.proc-macro2]
version = "1.0"
[build-dependencies.quote]
version = "1.0"
[build-dependencies.reqwest]
features = ["json", "blocking"]
version = "0.12"
[build-dependencies.serde_json]
version = "1.0"
[build-dependencies.syn]
features = ["full"]
version = "2.0"
[build-dependencies.toml]
version = "0.9"
[dependencies.futures-util]
version = "0.3"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["rt", "macros"]
version = "1.47"
[dependencies.tokio-stream]
features = ["sync"]
version = "0.1"
[dependencies.tokio-tungstenite]
features = ["native-tls"]
version = "0.27"
[dev-dependencies.tokio]
features = ["rt-multi-thread"]
version = "1.47"
[[example]]
name = "authentication"
path = "examples/authentication.rs"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "concurrent"
path = "examples/concurrent.rs"
[[example]]
name = "subscription"
path = "examples/subscription.rs"
[[example]]
name = "testnet"
path = "examples/testnet.rs"
[[example]]
name = "untyped"
path = "examples/untyped.rs"
[features]
default = []
local = []
testnet = []
[lib]
name = "deribit_api"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Deribit API client"
edition = "2024"
license = "MIT"
name = "deribit-api"
readme = "README.md"
repository = "https://github.com/farhadi/deribit-api"
version = "0.1.1"
[package.metadata.docs.rs]
features = ["local"]
[[test]]
name = "channels"
path = "tests/channels.rs"
[[test]]
name = "params"
path = "tests/params.rs"
[[test]]
name = "requests"
path = "tests/requests.rs"
[[test]]
name = "responses"
path = "tests/responses.rs"