[package] name = "this_is_a_placeholder111" version = "0.1.0" # docs.rs autobuild has difficulty with ahash dep. Host yuorself at https://tiiny.host/ documentation = "https://docs.rs/switchboard-on-demand" edition = "2021" resolver = "2" description = "A Rust library to interact with the Switchboard Solana program." readme = "README.md" keywords = ["switchboard", "oracle", "solana"] homepage = "https://switchboard.xyz" repository = "https://github.com/switchboard-xyz/solana-sdk/tree/main/rust/switchboard-solana" license = "MIT" [lib] crate-type = ["cdylib", "lib"] name = "switchboard_on_demand" doctest = true [features] default = ["cpi"] no-entrypoint = [] cpi = ["no-entrypoint"] secrets = ["aes-gcm", "rand", "rsa", "reqwest"] ipfs = ["switchboard-common/ipfs"] all-features = ["secrets", "ipfs", "cpi", "no-entrypoint", "client"] pid_override = [] client = ["solana-client", "solana-sdk", "anchor-lang", "anchor-client", "switchboard-common/client", "tokio", "tokio-util", "reqwest"] stdsimd = [] [dependencies] arc-swap = "1.6" async-trait = "0.1.77" base64 = "0.21.4" bincode = { version = "^1" } borsh = { version = "0.10.3" } bytemuck = "^1" futures = "0.3" lazy_static = "1.4.0" libsecp256k1 = "0.7.1" log = { version = "0.4", features = ["kv_unstable", "kv_unstable_std"] } rust_decimal = "^1" serde = { version = "^1", features = ["derive"] } serde_json = { version = "^1" } sha2 = "0.10.8" solana-address-lookup-table-program = ">= 1.16, < 1.18" solana-program = ">= 1.16, < 1.18" spl-token = "4" switchboard-common = { version = "0.11.3", path = "../switchboard-common", features = [] } anchor-lang = { version = "0.29.0", optional = true } anchor-client = { version = "0.29.0", optional = true } solana-client = { version = "1.17.16", optional = true } solana-sdk = { version = "1.17.16", optional = true } tokio = { version = "1", features = ["full", "tracing"], optional = true } tokio-util = { version = "0.7.10", features = ["time"], optional = true } aes-gcm = { version = "0.10.3", optional = true } rand = { version = "0.8.5", optional = true } reqwest = { version = "0.11", features = ["json"], optional = true } rsa = { version = "0.5.0", optional = true } [patch.crates-io] ahash84 = { version = "0.8.4", package="ahash", path = "patches/ahash-0.8.4-stdsimd.patch" } ahash85 = { version = "0.8.5", package="ahash", path = "patches/ahash-0.8.5-stdsimd.patch" } [patch.'https://github.com/rust-lang/crates.io-index'] ahash84 = { version = "0.8.4", package="ahash", path = "patches/ahash-0.8.4-stdsimd.patch" } ahash85 = { version = "0.8.5", package="ahash", path = "patches/ahash-0.8.5-stdsimd.patch" }