[package] name = "asset-agnostic-orderbook" version = "1.1.0" edition = "2018" description = "Solana library enabling generic on-chain orderbooks" license = "Apache-2.0" documentation = "https://docs.rs/asset-agnostic-orderbook/latest/asset_agnostic_orderbook/" homepage = "https://www.sns.id/" repository = "https://github.com/bonfida/agnostic-orderbook" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] test-bpf = [] entrypoint = [] wasm = [] debug-asserts = [] quick-test = [] lib = [] utils = [] benchmarking = ["bonfida-utils/benchmarking"] [dependencies] solana-program = "1.18.23" bytemuck = {version = "1.7.2", features= ["derive"]} num_enum = "0.5.4" borsh = "0.10.3" thiserror = "1.0.24" num-traits = "0.2" num-derive = "0.3" enumflags2 = "0.7.1" spl-token = {version="4.0.0", features= ["no-entrypoint"]} bonfida-utils = "0.4.4" [dev-dependencies] hexdump = "0.1.0" solana-sdk = "1.18.23" rand = "0.8.4" arrayref = "0.3.6" solana-program-test = "1.18.23" tokio = {version="1.6", features = ["macros"]} regex = "1.5.5" gnuplot = "0.0.37" lazy_static = "1.4.0" serde = "1" serde_json = "1" [lib] crate-type = ["cdylib", "lib"] [[bench]] name = "deep_ob" harness = false [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("solana"))'] }