# 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 = "2018" name = "asset-agnostic-orderbook" version = "1.1.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Solana library enabling generic on-chain orderbooks" homepage = "https://www.sns.id/" documentation = "https://docs.rs/asset-agnostic-orderbook/latest/asset_agnostic_orderbook/" readme = false license = "Apache-2.0" repository = "https://github.com/bonfida/agnostic-orderbook" [lib] name = "asset_agnostic_orderbook" crate-type = [ "cdylib", "lib", ] path = "src/lib.rs" [[test]] name = "deep_ob" path = "tests/deep_ob.rs" [[test]] name = "functional" path = "tests/functional.rs" [[bench]] name = "deep_ob" path = "benches/deep_ob.rs" harness = false [dependencies.bonfida-utils] version = "0.4.4" [dependencies.borsh] version = "0.10.3" [dependencies.bytemuck] version = "1.7.2" features = ["derive"] [dependencies.enumflags2] version = "0.7.1" [dependencies.num-derive] version = "0.3" [dependencies.num-traits] version = "0.2" [dependencies.num_enum] version = "0.5.4" [dependencies.solana-program] version = "1.18.23" [dependencies.spl-token] version = "4.0.0" features = ["no-entrypoint"] [dependencies.thiserror] version = "1.0.24" [dev-dependencies.arrayref] version = "0.3.6" [dev-dependencies.gnuplot] version = "0.0.37" [dev-dependencies.hexdump] version = "0.1.0" [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.rand] version = "0.8.4" [dev-dependencies.regex] version = "1.5.5" [dev-dependencies.serde] version = "1" [dev-dependencies.serde_json] version = "1" [dev-dependencies.solana-program-test] version = "1.18.23" [dev-dependencies.solana-sdk] version = "1.18.23" [dev-dependencies.tokio] version = "1.6" features = ["macros"] [features] benchmarking = ["bonfida-utils/benchmarking"] debug-asserts = [] entrypoint = [] lib = [] quick-test = [] test-bpf = [] utils = [] wasm = [] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ['cfg(target_os, values("solana"))']