bullet-rust-sdk 0.0.4

Rust SDK for the Bullet trading platform
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "bullet-rust-sdk"
version = "0.0.4"
build = "build.rs"
links = "bullet_rust_codegen"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the Bullet trading platform"
homepage = "https://www.bullet.xyz"
readme = "README.md"
keywords = [
    "bullet",
    "trading",
    "exchange",
    "sdk",
]
categories = [
    "api-bindings",
    "cryptography::cryptocurrencies",
]
license = "MIT"
repository = "https://github.com/bulletxyz/bullet-rust-sdk"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
integration = []

[lib]
name = "bullet_rust_sdk"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "rest"
path = "examples/rest.rs"

[[example]]
name = "websocket"
path = "examples/websocket.rs"

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

[dependencies.base64]
version = "0.22"

[dependencies.bon]
version = "3.9.0"

[dependencies.borsh]
version = "1"

[dependencies.bullet-exchange-interface]
version = "0.1"
features = ["schema"]

[dependencies.bullet-ws-interface]
version = "0.1"

[dependencies.ed25519-dalek]
version = "2.1"
features = ["rand_core"]

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.progenitor-client]
version = "0.13"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.13"
features = ["blocking"]

[dependencies.reqwest-websocket]
version = "0.6"
features = ["json"]

[dependencies.rust_decimal]
version = "1"
features = ["serde-with-str"]

[dependencies.serde]
version = "1.0.216"

[dependencies.serde_json]
version = "1.0.133"
features = ["preserve_order"]

[dependencies.strum]
version = "0.26"
features = ["derive"]

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1.41"

[dependencies.url]
version = "2"

[dependencies.web-time]
version = "1.1"

[dev-dependencies.tokio]
version = "=1.52.2"
features = [
    "rt",
    "macros",
    "io-std",
    "io-util",
]

[dev-dependencies.tracing-subscriber]
version = "=0.3.23"
features = ["env-filter"]

[dev-dependencies.wiremock]
version = "=0.6.5"

[build-dependencies.clap]
version = "4"
features = ["derive"]

[build-dependencies.openapiv3]
version = "2"

[build-dependencies.prettyplease]
version = "0.2"

[build-dependencies.progenitor]
version = "0.13"

[build-dependencies.reqwest]
version = "0.13"
features = ["blocking"]

[build-dependencies.schemars]
version = "0.8"

[build-dependencies.serde_json]
version = "1.0"

[build-dependencies.syn]
version = "2.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-timer]
version = "3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt",
    "macros",
    "time",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.futures-timer]
version = "3"
features = ["wasm-bindgen"]

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"