[package] name = "sbod_staging2" version = "0.1.3" documentation = "https://docs.rs/sbod_staging" 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 = "sbod_staging2" 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", "anchor-client", "switchboard-common/client", "tokio", "tokio-util", "reqwest", "solana-sdk"] [dependencies] anchor-client = { version = "0.29.0", features = ["async"], optional = true } anchor-lang = { version = "0.29.0" } anchor-spl = "0.29.0" arc-swap = "1.6" base64 = "0.21.4" bincode = { version = "^1" } 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-client = { version = "1.17.16", optional = true } solana-program = ">= 1.16, < 1.18" solana-sdk = {version = ">= 1.16, < 1.18", optional = true} switchboard-common = { version = "0.11.3", path = "../switchboard-common", features = [] } tokio = { version = "1", features = ["full", "tracing"], optional = true } tokio-util = { version = "0.7.10", features = ["time"], optional = true } # Secrets Dependencies 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 } async-trait = "0.1.77" borsh = "1.3.1" [package.metadata.docs.rs] rustc-version = "stable" all-features = true rustdoc-args = ["--cfg", "doc_cfg"] [dev-dependencies] # dirs = "5" # dotenvy = "0.15" # json_env_logger = "0.1" # pretty_assertions = "1.4.0" # tokio = { version = "1", features = ["full"] }