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