# 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 = "2021" name = "crypto-botters" version = "0.6.0" authors = ["negi_grass"] exclude = [ "/.idea", "/.github", ] autoexamples = false description = "A library for cryptocurrency exchange APIs." homepage = "https://github.com/negi-grass/crypto-botters" documentation = "https://docs.rs/crypto-botters" readme = "README.md" keywords = [ "cryptocurrency", "finance", "trading", "client", "websocket", ] categories = [ "api-bindings", "asynchronous", "cryptography::cryptocurrencies", "authentication", ] license = "MIT" repository = "https://github.com/negi-grass/crypto-botters" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "binance_http_private" path = "examples/binance/binance_http_private.rs" [[example]] name = "binance_http_public" path = "examples/binance/binance_http_public.rs" [[example]] name = "binance_websocket_private" path = "examples/binance/binance_websocket_private.rs" [[example]] name = "binance_websocket_public" path = "examples/binance/binance_websocket_public.rs" [[example]] name = "binance_spawn" path = "examples/binance/binance_spawn.rs" [[example]] name = "bitflyer_http_private" path = "examples/bitflyer/bitflyer_http_private.rs" [[example]] name = "bitflyer_http_public" path = "examples/bitflyer/bitflyer_http_public.rs" [[example]] name = "bitflyer_websocket_private" path = "examples/bitflyer/bitflyer_websocket_private.rs" [[example]] name = "bitflyer_websocket_public" path = "examples/bitflyer/bitflyer_websocket_public.rs" [[example]] name = "bybit_unified_margin_v3" path = "examples/bybit/v3/bybit_unified_margin_v3.rs" [[example]] name = "bybit_contract_v3" path = "examples/bybit/v3/bybit_contract_v3.rs" [[example]] name = "bybit_inverse_perpetual_v2" path = "examples/bybit/previous_version/bybit_inverse_perpetual_v2.rs" [[example]] name = "bybit_usdt_perpetual_v2" path = "examples/bybit/previous_version/bybit_usdt_perpetual_v2.rs" [[example]] name = "bybit_inverse_futures_v2" path = "examples/bybit/previous_version/bybit_inverse_futures_v2.rs" [[example]] name = "bybit_spot_v3" path = "examples/bybit/v3/bybit_spot_v3.rs" [[example]] name = "bybit_spot_v1" path = "examples/bybit/previous_version/bybit_spot_v1.rs" [[example]] name = "bybit_account_asset_v3" path = "examples/bybit/v3/bybit_account_asset_v3.rs" [[example]] name = "bybit_account_asset_v1" path = "examples/bybit/previous_version/bybit_account_asset_v1.rs" [[example]] name = "bybit_copy_trading_v3" path = "examples/bybit/v3/bybit_copy_trading_v3.rs" [[example]] name = "bybit_usdc_option_v1" path = "examples/bybit/previous_version/bybit_usdc_option_v1.rs" [[example]] name = "bybit_usdc_perpetual_v1" path = "examples/bybit/previous_version/bybit_usdc_perpetual_v1.rs" [[example]] name = "bybit_usdt_contract_v3_websocket_public" path = "examples/bybit/v3/bybit_usdt_contract_v3_websocket_public.rs" [[example]] name = "bybit_usdc_contract_v3_websocket_public" path = "examples/bybit/v3/bybit_usdc_contract_v3_websocket_public.rs" [[example]] name = "bybit_spot_v3_websocket_public" path = "examples/bybit/v3/bybit_spot_v3_websocket_public.rs" [[example]] name = "bybit_spot_v3_websocket_private" path = "examples/bybit/v3/bybit_spot_v3_websocket_private.rs" [[example]] name = "bybit_v5" path = "examples/bybit/v5/bybit_v5.rs" [[example]] name = "bybit_v5_websocket_public" path = "examples/bybit/v5/bybit_v5_websocket_public.rs" [[example]] name = "bybit_v5_websocket_private" path = "examples/bybit/v5/bybit_v5_websocket_private.rs" [[example]] name = "coincheck_http_public" path = "examples/coincheck/coincheck_http_public.rs" [[example]] name = "coincheck_http_private" path = "examples/coincheck/coincheck_http_private.rs" [[example]] name = "coincheck_websocket_public" path = "examples/coincheck/coincheck_websocket_public.rs" [dependencies.generic-api-client] version = "0.3" [dependencies.hex] version = "0.4.3" [dependencies.hmac] version = "0.12.1" [dependencies.log] version = "0.4.20" [dependencies.rand] version = "0.8.5" optional = true [dependencies.serde] version = "1.0.193" features = ["derive"] [dependencies.serde_json] version = "1.0.108" [dependencies.serde_urlencoded] version = "0.7.1" optional = true [dependencies.sha2] version = "0.10.8" [dev-dependencies.env_logger] version = "0.10.1" [dev-dependencies.rust_decimal] version = "1.33.0" features = [ "serde-with-str", "serde-with-float", ] [dev-dependencies.tokio] version = "1.34.0" features = [ "rt-multi-thread", "macros", ] [features] binance = ["dep:serde_urlencoded"] bitflyer = ["dep:rand"] bybit = [ "dep:serde_urlencoded", "dep:rand", ] coincheck = ["dep:serde_urlencoded"] default = ["native-tls"] full = [ "binance", "bitflyer", "bybit", "coincheck", ] native-tls = ["generic-api-client/native-tls"] native-tls-vendored = ["generic-api-client/native-tls-vendored"] rustls-tls-native-roots = ["generic-api-client/rustls-tls-native-roots"] rustls-tls-webpki-roots = ["generic-api-client/rustls-tls-webpki-roots"]