[package] description = "OpenBook V2 DEX" edition = "2021" name = "openbookdex-v2" version = "0.1.0" license = "MIT" authors = [ "OpenBook Dex Maintainers", "Mahmoud Harmouch ", ] repository = "https://github.com/openbook-dex/openbook-v2" [lib] crate-type = ["cdylib", "lib"] name = "openbookdex_v2" [features] cpi = ["no-entrypoint"] default = [] no-entrypoint = [] no-idl = [] no-log-ix-name = [] test-bpf = ["client"] client = ["solana-sdk", "no-entrypoint"] # Enables GPL-licensed parts of the code. See LICENSE file. enable-gpl = [] [dependencies] anchor-lang = { version="0.29.0", features = ["event-cpi"]} anchor-spl = "0.29.0" arbitrary = { version = "~1.0", features = ["derive"], optional = true } arrayref = "0.3.6" bytemuck = { version = "^1.7.2", features = ["derive", "min_const_generics"] } default-env = "0.1.1" derivative = "2.2.0" fixed = { version = "1.11.0", features = ["serde", "borsh"] } itertools = "0.10.3" num_enum = "0.5.1" pyth-sdk-solana = "0.10.1" solana-program = "~1.17.1" solana-sdk = { version = "~1.17.1", optional = true } solana-security-txt = "1.1.1" static_assertions = "1.1" switchboard-program = ">=0.2.0" switchboard-solana = "0.29.99" [dev-dependencies] async-trait = "0.1.52" base64 = "0.13.0" log = "0.4.14" env_logger = "0.9.0" itertools = "0.10.3" lazy_static = "1.4.0" num = "0.4.0" rand = "0.8.4" solana-logger = "~1.17.1" solana-program-test = "~1.17.1" spl-token = { version = "^3.5.0", features = ["no-entrypoint"] } spl-associated-token-account = { version = "1.0.3", features = ["no-entrypoint"] }