# 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-solana-staging" version = "0.29.102" description = "A Rust library to interact with Switchboard accounts." homepage = "https://switchboard.xyz" readme = "README.md" keywords = [ "switchboard", "oracle", "solana", ] license = "MIT" repository = "https://github.com/switchboard-xyz/solana-sdk/tree/main/rust/switchboard-solana" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [lib] name = "switchboard_solana" crate-type = [ "cdylib", "lib", ] doctest = false [dependencies.anchor-spl] version = "0.29.0" [dependencies.bytemuck] version = "^1" [dependencies.kv-log-macro] version = "1.0" [dependencies.log] version = "0.4" features = [ "kv_unstable", "kv_unstable_std", ] [dependencies.rust_decimal] version = "^1" [dependencies.solana-address-lookup-table-program] version = "^1.16" [dependencies.solana-program] version = "^1.16" [dependencies.superslice] version = "1" [dependencies.switchboard-solana-macros] version = "=0.2.2" features = ["dotenv"] optional = true [dev-dependencies.dirs] version = "5" [dev-dependencies.json_env_logger] version = "0.1" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.tokio] version = "1" features = ["full"] [features] all = [ "secrets", "macros", "ipfs", ] cpi = ["no-entrypoint"] default = ["cpi"] ipfs = ["switchboard-common/ipfs"] macros = ["switchboard-solana-macros"] no-entrypoint = [] secrets = [ "aes-gcm", "rand", "rsa", "reqwest", ] [target."cfg(not(target_os = \"solana\"))".dependencies.aes-gcm] version = "0.10.3" optional = true [target."cfg(not(target_os = \"solana\"))".dependencies.anchor-client] version = "0.29.0" features = ["async"] [target."cfg(not(target_os = \"solana\"))".dependencies.base64] version = "0.21.4" [target."cfg(not(target_os = \"solana\"))".dependencies.bincode] version = "^1" [target."cfg(not(target_os = \"solana\"))".dependencies.chrono] version = "0.4.25" [target."cfg(not(target_os = \"solana\"))".dependencies.cron] version = "0.12.0" [target."cfg(not(target_os = \"solana\"))".dependencies.dashmap] version = "5.5.3" [target."cfg(not(target_os = \"solana\"))".dependencies.futures] version = "0.3" [target."cfg(not(target_os = \"solana\"))".dependencies.hex] version = "0.4.3" [target."cfg(not(target_os = \"solana\"))".dependencies.rand] version = "0.8.5" optional = true [target."cfg(not(target_os = \"solana\"))".dependencies.reqwest] version = "0.11" features = ["json"] optional = true [target."cfg(not(target_os = \"solana\"))".dependencies.rsa] version = "0.5.0" optional = true [target."cfg(not(target_os = \"solana\"))".dependencies.serde] version = "^1" features = ["derive"] [target."cfg(not(target_os = \"solana\"))".dependencies.serde_json] version = "^1" [target."cfg(not(target_os = \"solana\"))".dependencies.sgx-quote] version = "0.1.0" [target."cfg(not(target_os = \"solana\"))".dependencies.sha2] version = "0.10.8" [target."cfg(not(target_os = \"solana\"))".dependencies.solana-account-decoder] version = "^1.16" [target."cfg(not(target_os = \"solana\"))".dependencies.solana-client] version = "^1.16" [target."cfg(not(target_os = \"solana\"))".dependencies.switchboard-common] version = "0.11.2" features = ["client"] [target."cfg(not(target_os = \"solana\"))".dependencies.tokio] version = "1" [target."cfg(not(target_os = \"solana\"))".dependencies.url] version = "2.4" [target."cfg(target_os = \"solana\")".dependencies.anchor-lang] version = "0.29.0" [target."cfg(target_os = \"solana\")".dependencies.switchboard-common] version = "0.11.2"