# 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 = "drift-rs" version = "1.0.0-alpha.4" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ Rust SDK for Drift V2 Protocol on the Solana blockchain. """ homepage = "https://drift.trade" readme = "README.md" keywords = [ "solana", "dex", "drift", "sdk", ] categories = [ "cryptography::cryptocurrencies", "api-bindings", ] license = "Apache-2.0" repository = "https://github.com/drift-labs/drift-rs" [lib] name = "drift_rs" path = "crates/src/lib.rs" [[test]] name = "integration" path = "tests/integration.rs" [dependencies.abi_stable] version = "0.11" [dependencies.ahash] version = "0.8.11" [dependencies.anchor-lang] version = "0.30" features = ["derive"] [dependencies.base64] version = "0.22" [dependencies.bytemuck] version = "1.17" [dependencies.dashmap] version = "6" [dependencies.env_logger] version = "0.11" [dependencies.futures-util] version = "0.3" [dependencies.log] version = "0.4" [dependencies.rayon] version = "1.9.0" optional = true [dependencies.regex] version = "1.10" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.solana-account-decoder] version = "2" [dependencies.solana-client] version = "2" [dependencies.solana-sdk] version = "2" [dependencies.solana-transaction-status] version = "2" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.40" features = ["full"] [dependencies.type-layout] version = "0.2.0" [dev-dependencies.bytes] version = "1" [dev-dependencies.hex] version = "0.4" [dev-dependencies.hex-literal] version = "0.4" [build-dependencies.drift-idl-gen] version = "0.1.1" [features] dlob = ["rayon"] rpc_tests = []