# 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 = "switchboard-on-demand" version = "0.1.17" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust library to interact with the Switchboard Solana program." homepage = "https://switchboard.xyz" documentation = "https://switchboard-on-demand-rust-docs.web.app" readme = "README.md" keywords = [ "switchboard", "oracle", "solana", ] license = "MIT" repository = "https://github.com/switchboard-xyz/solana-sdk/tree/main/rust/switchboard-solana" resolver = "2" [lib] name = "switchboard_on_demand" crate-type = [ "cdylib", "lib", ] path = "src/lib.rs" doctest = false [dependencies.anchor-client] version = "0.29.0" optional = true [dependencies.anchor-lang] version = "0.29.0" optional = true [dependencies.anchor-spl] version = "0.29.0" optional = true [dependencies.arc-swap] version = "1.6" [dependencies.async-trait] version = "0.1.77" [dependencies.base64] version = "0.21.4" [dependencies.bincode] version = "^1" [dependencies.borsh] version = "0.10.3" [dependencies.bytemuck] version = "^1" [dependencies.futures] version = "0.3" [dependencies.lazy_static] version = "1.4.0" [dependencies.libsecp256k1] version = "0.7.1" [dependencies.log] version = "0.4" features = [ "kv_unstable", "kv_unstable_std", ] [dependencies.num] version = "0.4.3" [dependencies.rand] version = "0.8.5" optional = true [dependencies.reqwest] version = "0.11" features = ["json"] optional = true [dependencies.rsa] version = "0.5.0" optional = true [dependencies.rust_decimal] version = "^1" [dependencies.serde] version = "^1" features = ["derive"] [dependencies.serde_json] version = "^1" [dependencies.sha2] version = "0.10.8" [dependencies.solana-address-lookup-table-program] version = ">= 1.14, <2.0" [dependencies.solana-client] version = "1.17.16, <2.0" optional = true [dependencies.solana-program] version = ">= 1.14, <2.0" [dependencies.solana-sdk] version = "1.17.16, <2.0" optional = true [dependencies.spl-associated-token-account] version = "2" features = ["no-entrypoint"] [dependencies.spl-token] version = "3" features = ["no-entrypoint"] [dependencies.switchboard-common] version = "0.11.3" features = [] [dependencies.tokio] version = "1" features = [ "full", "tracing", ] optional = true [dependencies.tokio-util] version = "0.7.10" features = ["time"] optional = true [features] all-features = [ "secrets", "ipfs", "cpi", "no-entrypoint", "client", ] client = [ "anchor-spl", "solana-client", "solana-sdk", "anchor-lang", "anchor-client", "switchboard-common/client", "tokio", "tokio-util", "reqwest", ] cpi = ["no-entrypoint"] default = ["cpi"] devnet = [] ipfs = ["switchboard-common/ipfs"] no-entrypoint = [] pid_override = [] secrets = [ "rand", "rsa", "reqwest", ]