Cargo.toml 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. [profile.release-with-debug]
  2. inherits = "release"
  3. debug = true
  4. split-debuginfo = "packed"
  5. lto = false # Preserve the 'thin local LTO' for this build.
  6. [profile.release]
  7. split-debuginfo = "unpacked"
  8. lto = "thin"
  9. [workspace]
  10. members = [
  11. "account-decoder",
  12. "account-decoder-client-types",
  13. "accounts-bench",
  14. "accounts-cluster-bench",
  15. "accounts-db",
  16. "accounts-db/accounts-hash-cache-tool",
  17. "accounts-db/store-histogram",
  18. "accounts-db/store-tool",
  19. "banking-bench",
  20. "banking-stage-ingress-types",
  21. "banks-client",
  22. "banks-interface",
  23. "banks-server",
  24. "bench-streamer",
  25. "bench-tps",
  26. "bench-vote",
  27. "bloom",
  28. "bucket_map",
  29. "builtins",
  30. "builtins-default-costs",
  31. "cargo-registry",
  32. "clap-utils",
  33. "clap-v3-utils",
  34. "cli",
  35. "cli-config",
  36. "cli-output",
  37. "client",
  38. "client-test",
  39. "compute-budget",
  40. "compute-budget-instruction",
  41. "connection-cache",
  42. "core",
  43. "cost-model",
  44. "curves/*",
  45. "dos",
  46. "download-utils",
  47. "entry",
  48. "faucet",
  49. "fee",
  50. "genesis",
  51. "genesis-utils",
  52. "geyser-plugin-interface",
  53. "geyser-plugin-manager",
  54. "gossip",
  55. "inline-spl",
  56. "install",
  57. "keygen",
  58. "lattice-hash",
  59. "ledger",
  60. "ledger-tool",
  61. "local-cluster",
  62. "log-analyzer",
  63. "log-collector",
  64. "measure",
  65. "memory-management",
  66. "merkle-root-bench",
  67. "merkle-tree",
  68. "metrics",
  69. "net-shaper",
  70. "net-utils",
  71. "notifier",
  72. "perf",
  73. "platform-tools-sdk/cargo-build-sbf",
  74. "platform-tools-sdk/cargo-test-sbf",
  75. "platform-tools-sdk/gen-headers",
  76. "poh",
  77. "poh-bench",
  78. "poseidon",
  79. "program-runtime",
  80. "program-test",
  81. "programs/address-lookup-table",
  82. "programs/address-lookup-table-tests",
  83. "programs/bpf-loader-tests",
  84. "programs/bpf_loader",
  85. "programs/bpf_loader/gen-syscall-list",
  86. "programs/compute-budget",
  87. "programs/compute-budget-bench",
  88. "programs/config",
  89. "programs/ed25519-tests",
  90. "programs/loader-v4",
  91. "programs/stake",
  92. "programs/stake-tests",
  93. "programs/system",
  94. "programs/vote",
  95. "programs/zk-elgamal-proof",
  96. "programs/zk-token-proof",
  97. "programs/zk-token-proof-tests",
  98. "pubsub-client",
  99. "quic-client",
  100. "rayon-threadlimit",
  101. "rbpf-cli",
  102. "remote-wallet",
  103. "rpc",
  104. "rpc-client",
  105. "rpc-client-api",
  106. "rpc-client-nonce-utils",
  107. "rpc-test",
  108. "runtime",
  109. "runtime-transaction",
  110. "sdk",
  111. "sdk/account",
  112. "sdk/account-info",
  113. "sdk/address-lookup-table-interface",
  114. "sdk/atomic-u64",
  115. "sdk/big-mod-exp",
  116. "sdk/bincode",
  117. "sdk/blake3-hasher",
  118. "sdk/borsh",
  119. "sdk/client-traits",
  120. "sdk/clock",
  121. "sdk/cluster-type",
  122. "sdk/commitment-config",
  123. "sdk/compute-budget-interface",
  124. "sdk/cpi",
  125. "sdk/decode-error",
  126. "sdk/define-syscall",
  127. "sdk/derivation-path",
  128. "sdk/ed25519-program",
  129. "sdk/epoch-info",
  130. "sdk/epoch-rewards",
  131. "sdk/epoch-rewards-hasher",
  132. "sdk/epoch-schedule",
  133. "sdk/feature-gate-interface",
  134. "sdk/feature-set",
  135. "sdk/fee-calculator",
  136. "sdk/fee-structure",
  137. "sdk/file-download",
  138. "sdk/frozen-abi",
  139. "sdk/frozen-abi/macro",
  140. "sdk/genesis-config",
  141. "sdk/hard-forks",
  142. "sdk/hash",
  143. "sdk/inflation",
  144. "sdk/instruction",
  145. "sdk/instructions-sysvar",
  146. "sdk/keccak-hasher",
  147. "sdk/keypair",
  148. "sdk/loader-v2-interface",
  149. "sdk/loader-v3-interface",
  150. "sdk/loader-v4-interface",
  151. "sdk/logger",
  152. "sdk/macro",
  153. "sdk/message",
  154. "sdk/msg",
  155. "sdk/native-token",
  156. "sdk/nonce",
  157. "sdk/nonce-account",
  158. "sdk/offchain-message",
  159. "sdk/package-metadata",
  160. "sdk/package-metadata-macro",
  161. "sdk/packet",
  162. "sdk/poh-config",
  163. "sdk/precompile-error",
  164. "sdk/precompiles",
  165. "sdk/presigner",
  166. "sdk/program",
  167. "sdk/program-entrypoint",
  168. "sdk/program-error",
  169. "sdk/program-memory",
  170. "sdk/program-option",
  171. "sdk/program-pack",
  172. "sdk/pubkey",
  173. "sdk/quic-definitions",
  174. "sdk/rent",
  175. "sdk/rent-collector",
  176. "sdk/rent-debits",
  177. "sdk/reserved-account-keys",
  178. "sdk/reward-info",
  179. "sdk/sanitize",
  180. "sdk/sdk-ids",
  181. "sdk/secp256k1-program",
  182. "sdk/secp256r1-program",
  183. "sdk/seed-derivable",
  184. "sdk/seed-phrase",
  185. "sdk/serde",
  186. "sdk/serde-varint",
  187. "sdk/serialize-utils",
  188. "sdk/sha256-hasher",
  189. "sdk/short-vec",
  190. "sdk/shred-version",
  191. "sdk/signature",
  192. "sdk/signer",
  193. "sdk/slot-hashes",
  194. "sdk/slot-history",
  195. "sdk/stable-layout",
  196. "sdk/system-transaction",
  197. "sdk/sysvar",
  198. "sdk/sysvar-id",
  199. "sdk/time-utils",
  200. "sdk/transaction",
  201. "sdk/transaction-context",
  202. "sdk/transaction-error",
  203. "sdk/validator-exit",
  204. "sdk/vote-interface",
  205. "send-transaction-service",
  206. "stake-accounts",
  207. "storage-bigtable",
  208. "storage-bigtable/build-proto",
  209. "storage-proto",
  210. "streamer",
  211. "svm",
  212. "svm-conformance",
  213. "svm-rent-collector",
  214. "svm-transaction",
  215. "test-validator",
  216. "thin-client",
  217. "thread-manager",
  218. "timings",
  219. "tls-utils",
  220. "tokens",
  221. "tps-client",
  222. "tpu-client",
  223. "tpu-client-next",
  224. "transaction-dos",
  225. "transaction-metrics-tracker",
  226. "transaction-status",
  227. "transaction-status-client-types",
  228. "transaction-view",
  229. "turbine",
  230. "type-overrides",
  231. "udp-client",
  232. "unified-scheduler-logic",
  233. "unified-scheduler-pool",
  234. "upload-perf",
  235. "validator",
  236. "version",
  237. "vortexor",
  238. "vote",
  239. "watchtower",
  240. "wen-restart",
  241. "zk-keygen",
  242. "zk-sdk",
  243. "zk-token-sdk",
  244. ]
  245. exclude = ["programs/sbf", "svm/examples", "svm/tests/example-programs"]
  246. resolver = "2"
  247. [workspace.package]
  248. version = "2.2.0"
  249. authors = ["Anza Maintainers <maintainers@anza.xyz>"]
  250. repository = "https://github.com/anza-xyz/agave"
  251. homepage = "https://anza.xyz/"
  252. license = "Apache-2.0"
  253. edition = "2021"
  254. [workspace.lints.rust.unexpected_cfgs]
  255. level = "warn"
  256. check-cfg = [
  257. 'cfg(target_os, values("solana"))',
  258. 'cfg(feature, values("frozen-abi", "no-entrypoint"))',
  259. ]
  260. [workspace.dependencies]
  261. Inflector = "0.11.4"
  262. axum = "0.7.9"
  263. agave-banking-stage-ingress-types = { path = "banking-stage-ingress-types", version = "=2.2.0" }
  264. agave-transaction-view = { path = "transaction-view", version = "=2.2.0" }
  265. aquamarine = "0.3.3"
  266. aes-gcm-siv = "0.11.1"
  267. ahash = "0.8.11"
  268. anyhow = "1.0.95"
  269. arbitrary = "1.4.1"
  270. ark-bn254 = "0.4.0"
  271. ark-ec = "0.4.0"
  272. ark-ff = "0.4.0"
  273. ark-serialize = "0.4.0"
  274. array-bytes = "=1.4.1"
  275. arrayref = "0.3.9"
  276. arrayvec = "0.7.6"
  277. assert_cmd = "2.0"
  278. assert_matches = "1.5.0"
  279. async-channel = "1.9.0"
  280. async-lock = "3.4.0"
  281. async-trait = "0.1.85"
  282. atty = "0.2.11"
  283. backoff = "0.4.0"
  284. base64 = "0.22.1"
  285. bincode = "1.3.3"
  286. bitflags = { version = "2.8.0" }
  287. blake3 = "1.5.5"
  288. borsh = { version = "1.5.5", features = ["derive", "unstable__schema"] }
  289. borsh0-10 = { package = "borsh", version = "0.10.3" }
  290. bs58 = { version = "0.5.1", default-features = false }
  291. bv = "0.11.1"
  292. byte-unit = "4.0.19"
  293. bytecount = "0.6.8"
  294. bytemuck = "1.21.0"
  295. bytemuck_derive = "1.8.1"
  296. bytes = "1.9"
  297. bzip2 = "0.4.4"
  298. caps = "0.5.5"
  299. cargo_metadata = "0.15.4"
  300. cfg_eval = "0.1.2"
  301. cfg-if = "1.0.0"
  302. chrono = { version = "0.4.39", default-features = false }
  303. chrono-humanize = "0.2.3"
  304. clap = "2.33.1"
  305. console = "0.15.10"
  306. console_error_panic_hook = "0.1.7"
  307. console_log = "0.2.2"
  308. const_format = "0.2.34"
  309. core_affinity = "0.5.10"
  310. criterion = "0.5.1"
  311. criterion-stats = "0.3.0"
  312. crossbeam-channel = "0.5.14"
  313. csv = "1.3.1"
  314. ctrlc = "3.4.5"
  315. curve25519-dalek = { version = "4.1.3", features = ["digest", "rand_core"] }
  316. dashmap = "5.5.3"
  317. derivation-path = { version = "0.2.0", default-features = false }
  318. derive-where = "1.2.7"
  319. dialoguer = "0.10.4"
  320. digest = "0.10.7"
  321. dir-diff = "0.3.3"
  322. dirs-next = "2.0.0"
  323. dlopen2 = "0.5.0"
  324. eager = "0.1.0"
  325. ed25519-dalek = "=1.0.1"
  326. ed25519-dalek-bip32 = "0.2.0"
  327. enum-iterator = "1.5.0"
  328. env_logger = "0.9.3"
  329. etcd-client = "0.11.1"
  330. fast-math = "0.1"
  331. fd-lock = "3.0.13"
  332. flate2 = "1.0.31"
  333. five8_const = "0.1.3"
  334. fnv = "1.0.7"
  335. fs_extra = "1.3.0"
  336. futures = "0.3.31"
  337. futures-util = "0.3.29"
  338. gag = "1.0.0"
  339. gethostname = "0.2.3"
  340. getrandom = "0.2.10"
  341. goauth = "0.13.1"
  342. governor = "0.6.3"
  343. hex = "0.4.3"
  344. hidapi = { version = "2.6.3", default-features = false }
  345. histogram = "0.6.9"
  346. hmac = "0.12.1"
  347. http = "0.2.12"
  348. humantime = "2.0.1"
  349. hyper = "0.14.32"
  350. hyper-proxy = "0.9.1"
  351. im = "15.1.0"
  352. index_list = "0.2.15"
  353. indexmap = "2.7.1"
  354. indicatif = "0.17.9"
  355. itertools = "0.12.1"
  356. jemallocator = { package = "tikv-jemallocator", version = "0.6.0", features = [
  357. "unprefixed_malloc_on_supported_platforms",
  358. ] }
  359. js-sys = "0.3.77"
  360. json5 = "0.4.1"
  361. jsonrpc-core = "18.0.0"
  362. jsonrpc-core-client = "18.0.0"
  363. jsonrpc-derive = "18.0.0"
  364. jsonrpc-http-server = "18.0.0"
  365. jsonrpc-ipc-server = "18.0.0"
  366. jsonrpc-pubsub = "18.0.0"
  367. lazy-lru = "0.1.3"
  368. lazy_static = "1.5.0"
  369. libc = "0.2.169"
  370. libloading = "0.7.4"
  371. libsecp256k1 = { version = "0.6.0", default-features = false, features = [
  372. "std",
  373. "static-context",
  374. ] }
  375. light-poseidon = "0.2.0"
  376. log = "0.4.25"
  377. lru = "0.7.7"
  378. lz4 = "1.28.1"
  379. memmap2 = "0.5.10"
  380. memoffset = "0.9"
  381. merlin = { version = "3", default-features = false }
  382. min-max-heap = "1.3.0"
  383. mockall = "0.11.4"
  384. modular-bitfield = "0.11.2"
  385. nix = "0.29.0"
  386. num-bigint = "0.4.6"
  387. num-derive = "0.4"
  388. num-traits = "0.2"
  389. num_cpus = "1.16.0"
  390. num_enum = "0.7.3"
  391. openssl = "0.10"
  392. parking_lot = "0.12"
  393. pbkdf2 = { version = "0.11.0", default-features = false }
  394. pem = "1.1.1"
  395. percentage = "0.1.0"
  396. pickledb = { version = "0.5.1", default-features = false }
  397. predicates = "2.1"
  398. pretty-hex = "0.3.0"
  399. prio-graph = "0.3.0"
  400. proc-macro2 = "1.0.93"
  401. proptest = "1.6"
  402. prost = "0.11.9"
  403. prost-build = "0.11.9"
  404. prost-types = "0.11.9"
  405. protobuf-src = "1.1.0"
  406. qstring = "0.7.2"
  407. qualifier_attr = { version = "0.2.2", default-features = false }
  408. quinn = "0.11.6"
  409. quinn-proto = "0.11.9"
  410. quote = "1.0"
  411. rand = "0.8.5"
  412. rand0-7 = { package = "rand", version = "0.7" }
  413. rand_chacha = "0.3.1"
  414. rand_chacha0-2 = { package = "rand_chacha", version = "0.2.2" }
  415. rayon = "1.10.0"
  416. reed-solomon-erasure = "6.0.0"
  417. regex = "1.11.1"
  418. reqwest = { version = "0.11.27", default-features = false }
  419. reqwest-middleware = "0.2.5"
  420. rolling-file = "0.2.0"
  421. rpassword = "7.3"
  422. rustls = { version = "0.23.21", features = ["std"], default-features = false }
  423. scopeguard = "1.2.0"
  424. semver = "1.0.25"
  425. seqlock = "0.2.0"
  426. serde = "1.0.217" # must match the serde_derive version, see https://github.com/serde-rs/serde/issues/2584#issuecomment-1685252251
  427. serde-big-array = "0.5.1"
  428. serde_bytes = "0.11.15"
  429. serde_derive = "1.0.217" # must match the serde version, see https://github.com/serde-rs/serde/issues/2584#issuecomment-1685252251
  430. serde_json = "1.0.137"
  431. serde_with = { version = "3.12.0", default-features = false }
  432. serde_yaml = "0.9.34"
  433. serial_test = "2.0.0"
  434. sha2 = "0.10.8"
  435. sha3 = "0.10.8"
  436. shuttle = "0.7.1"
  437. signal-hook = "0.3.17"
  438. siphasher = "0.3.11"
  439. slab = "0.4.9"
  440. smallvec = "1.13.2"
  441. smpl_jwt = "0.7.1"
  442. socket2 = "0.5.8"
  443. soketto = "0.7"
  444. solana-account = { path = "sdk/account", version = "=2.2.0" }
  445. solana-account-decoder = { path = "account-decoder", version = "=2.2.0" }
  446. solana-account-decoder-client-types = { path = "account-decoder-client-types", version = "=2.2.0" }
  447. solana-account-info = { path = "sdk/account-info", version = "=2.2.0" }
  448. solana-accounts-db = { path = "accounts-db", version = "=2.2.0" }
  449. solana-address-lookup-table-interface = { path = "sdk/address-lookup-table-interface", version = "=2.2.0" }
  450. solana-address-lookup-table-program = { path = "programs/address-lookup-table", version = "=2.2.0" }
  451. solana-atomic-u64 = { path = "sdk/atomic-u64", version = "=2.2.0" }
  452. solana-banks-client = { path = "banks-client", version = "=2.2.0" }
  453. solana-banks-interface = { path = "banks-interface", version = "=2.2.0" }
  454. solana-banks-server = { path = "banks-server", version = "=2.2.0" }
  455. solana-bench-tps = { path = "bench-tps", version = "=2.2.0" }
  456. solana-big-mod-exp = { path = "sdk/big-mod-exp", version = "=2.2.0" }
  457. solana-bincode = { path = "sdk/bincode", version = "=2.2.0" }
  458. solana-blake3-hasher = { path = "sdk/blake3-hasher" }
  459. solana-bloom = { path = "bloom", version = "=2.2.0" }
  460. solana-bn254 = { path = "curves/bn254", version = "=2.2.0" }
  461. solana-borsh = { path = "sdk/borsh", version = "=2.2.0" }
  462. solana-bpf-loader-program = { path = "programs/bpf_loader", version = "=2.2.0" }
  463. solana-bucket-map = { path = "bucket_map", version = "=2.2.0" }
  464. solana-builtins = { path = "builtins", version = "=2.2.0" }
  465. solana-builtins-default-costs = { path = "builtins-default-costs", version = "=2.2.0" }
  466. agave-cargo-registry = { path = "cargo-registry", version = "=2.2.0" }
  467. agave-thread-manager = { path = "thread-manager", version = "=2.2.0" }
  468. solana-clap-utils = { path = "clap-utils", version = "=2.2.0" }
  469. solana-clap-v3-utils = { path = "clap-v3-utils", version = "=2.2.0" }
  470. solana-cli = { path = "cli", version = "=2.2.0" }
  471. solana-cli-config = { path = "cli-config", version = "=2.2.0" }
  472. solana-cli-output = { path = "cli-output", version = "=2.2.0" }
  473. solana-client = { path = "client", version = "=2.2.0" }
  474. solana-client-traits = { path = "sdk/client-traits", version = "=2.2.0" }
  475. solana-clock = { path = "sdk/clock", version = "=2.2.0" }
  476. solana-cluster-type = { path = "sdk/cluster-type", version = "=2.2.0" }
  477. solana-commitment-config = { path = "sdk/commitment-config", version = "=2.2.0" }
  478. solana-compute-budget = { path = "compute-budget", version = "=2.2.0" }
  479. solana-compute-budget-instruction = { path = "compute-budget-instruction", version = "=2.2.0" }
  480. solana-compute-budget-interface = { path = "sdk/compute-budget-interface", version = "=2.2.0" }
  481. solana-compute-budget-program = { path = "programs/compute-budget", version = "=2.2.0" }
  482. solana-config-program = { path = "programs/config", version = "=2.2.0" }
  483. solana-connection-cache = { path = "connection-cache", version = "=2.2.0", default-features = false }
  484. solana-core = { path = "core", version = "=2.2.0" }
  485. solana-cost-model = { path = "cost-model", version = "=2.2.0" }
  486. solana-cpi = { path = "sdk/cpi", version = "=2.2.0" }
  487. solana-curve25519 = { path = "curves/curve25519", version = "=2.2.0" }
  488. solana-decode-error = { path = "sdk/decode-error", version = "=2.2.0" }
  489. solana-define-syscall = { path = "sdk/define-syscall", version = "=2.2.0" }
  490. solana-derivation-path = { path = "sdk/derivation-path", version = "=2.2.0" }
  491. solana-download-utils = { path = "download-utils", version = "=2.2.0" }
  492. solana-ed25519-program = { path = "sdk/ed25519-program", version = "=2.2.0" }
  493. solana-entry = { path = "entry", version = "=2.2.0" }
  494. solana-program-entrypoint = { path = "sdk/program-entrypoint", version = "=2.2.0" }
  495. solana-epoch-info = { path = "sdk/epoch-info", version = "=2.2.0" }
  496. solana-epoch-rewards = { path = "sdk/epoch-rewards", version = "=2.2.0" }
  497. solana-epoch-rewards-hasher = { path = "sdk/epoch-rewards-hasher", version = "=2.2.0" }
  498. solana-epoch-schedule = { path = "sdk/epoch-schedule", version = "=2.2.0" }
  499. solana-faucet = { path = "faucet", version = "=2.2.0" }
  500. solana-feature-gate-client = "0.0.2"
  501. solana-feature-gate-interface = { path = "sdk/feature-gate-interface", version = "=2.2.0" }
  502. solana-feature-set = { path = "sdk/feature-set", version = "=2.2.0" }
  503. solana-fee-calculator = { path = "sdk/fee-calculator", version = "=2.2.0" }
  504. solana-fee = { path = "fee", version = "=2.2.0" }
  505. solana-fee-structure = { path = "sdk/fee-structure", version = "=2.2.0" }
  506. solana-frozen-abi = { path = "sdk/frozen-abi", version = "=2.2.0" }
  507. solana-frozen-abi-macro = { path = "sdk/frozen-abi/macro", version = "=2.2.0" }
  508. solana-tps-client = { path = "tps-client", version = "=2.2.0" }
  509. solana-file-download = { path = "sdk/file-download", version = "=2.2.0" }
  510. solana-genesis = { path = "genesis", version = "=2.2.0" }
  511. solana-genesis-config = { path = "sdk/genesis-config", version = "=2.2.0" }
  512. solana-genesis-utils = { path = "genesis-utils", version = "=2.2.0" }
  513. agave-geyser-plugin-interface = { path = "geyser-plugin-interface", version = "=2.2.0" }
  514. solana-geyser-plugin-manager = { path = "geyser-plugin-manager", version = "=2.2.0" }
  515. solana-gossip = { path = "gossip", version = "=2.2.0" }
  516. solana-hard-forks = { path = "sdk/hard-forks", version = "=2.2.0", default-features = false }
  517. solana-hash = { path = "sdk/hash", version = "=2.2.0", default-features = false }
  518. solana-inflation = { path = "sdk/inflation", version = "=2.2.0" }
  519. solana-inline-spl = { path = "inline-spl", version = "=2.2.0" }
  520. solana-instruction = { path = "sdk/instruction", version = "=2.2.0", default-features = false }
  521. solana-instructions-sysvar = { path = "sdk/instructions-sysvar", version = "=2.2.0" }
  522. solana-keccak-hasher = { path = "sdk/keccak-hasher", version = "=2.2.0" }
  523. solana-keypair = { path = "sdk/keypair", version = "=2.2.0" }
  524. solana-last-restart-slot = { path = "sdk/last-restart-slot", version = "=2.2.0" }
  525. solana-lattice-hash = { path = "lattice-hash", version = "=2.2.0" }
  526. solana-ledger = { path = "ledger", version = "=2.2.0" }
  527. solana-loader-v2-interface = { path = "sdk/loader-v2-interface", version = "=2.2.0" }
  528. solana-loader-v3-interface = { path = "sdk/loader-v3-interface", version = "=2.2.0" }
  529. solana-loader-v4-interface = { path = "sdk/loader-v4-interface", version = "=2.2.0" }
  530. solana-loader-v4-program = { path = "programs/loader-v4", version = "=2.2.0" }
  531. solana-local-cluster = { path = "local-cluster", version = "=2.2.0" }
  532. solana-log-collector = { path = "log-collector", version = "=2.2.0" }
  533. solana-logger = { path = "sdk/logger", version = "=2.2.0" }
  534. solana-measure = { path = "measure", version = "=2.2.0" }
  535. solana-merkle-tree = { path = "merkle-tree", version = "=2.2.0" }
  536. solana-message = { path = "sdk/message", version = "=2.2.0" }
  537. solana-metrics = { path = "metrics", version = "=2.2.0" }
  538. solana-msg = { path = "sdk/msg", version = "=2.2.0" }
  539. solana-native-token = { path = "sdk/native-token", version = "=2.2.0" }
  540. solana-net-utils = { path = "net-utils", version = "=2.2.0" }
  541. solana-nohash-hasher = "0.2.1"
  542. solana-nonce = { path = "sdk/nonce", version = "=2.2.0" }
  543. solana-nonce-account = { path = "sdk/nonce-account", version = "=2.2.0" }
  544. solana-notifier = { path = "notifier", version = "=2.2.0" }
  545. solana-offchain-message = { path = "sdk/offchain-message", version = "=2.2.0" }
  546. solana-package-metadata = { path = "sdk/package-metadata", version = "=2.2.0" }
  547. solana-package-metadata-macro = { path = "sdk/package-metadata-macro", version = "=2.2.0" }
  548. solana-packet = { path = "sdk/packet", version = "=2.2.0" }
  549. solana-perf = { path = "perf", version = "=2.2.0" }
  550. solana-poh = { path = "poh", version = "=2.2.0" }
  551. solana-poh-config = { path = "sdk/poh-config", version = "=2.2.0" }
  552. solana-poseidon = { path = "poseidon", version = "=2.2.0" }
  553. solana-precompile-error = { path = "sdk/precompile-error", version = "=2.2.0" }
  554. solana-precompiles = { path = "sdk/precompiles", version = "=2.2.0" }
  555. solana-presigner = { path = "sdk/presigner", version = "=2.2.0" }
  556. solana-program = { path = "sdk/program", version = "=2.2.0", default-features = false }
  557. solana-program-error = { path = "sdk/program-error", version = "=2.2.0" }
  558. solana-program-memory = { path = "sdk/program-memory", version = "=2.2.0" }
  559. solana-program-option = { path = "sdk/program-option", version = "=2.2.0" }
  560. solana-program-pack = { path = "sdk/program-pack", version = "=2.2.0" }
  561. solana-program-runtime = { path = "program-runtime", version = "=2.2.0" }
  562. solana-program-test = { path = "program-test", version = "=2.2.0" }
  563. solana-pubkey = { path = "sdk/pubkey", version = "=2.2.0", default-features = false }
  564. solana-pubsub-client = { path = "pubsub-client", version = "=2.2.0" }
  565. solana-quic-client = { path = "quic-client", version = "=2.2.0" }
  566. solana-quic-definitions = { path = "sdk/quic-definitions", version = "=2.2.0" }
  567. solana-rayon-threadlimit = { path = "rayon-threadlimit", version = "=2.2.0" }
  568. solana-remote-wallet = { path = "remote-wallet", version = "=2.2.0", default-features = false }
  569. solana-rent = { path = "sdk/rent", version = "=2.2.0", default-features = false }
  570. solana-rent-collector = { path = "sdk/rent-collector", version = "=2.2.0" }
  571. solana-rent-debits = { path = "sdk/rent-debits", version = "=2.2.0" }
  572. solana-reserved-account-keys = { path = "sdk/reserved-account-keys", version = "=2.2.0", default-features = false }
  573. solana-reward-info = { path = "sdk/reward-info", version = "=2.2.0" }
  574. solana-sanitize = { path = "sdk/sanitize", version = "=2.2.0" }
  575. solana-secp256r1-program = { path = "sdk/secp256r1-program", version = "=2.2.0", default-features = false }
  576. solana-seed-derivable = { path = "sdk/seed-derivable", version = "=2.2.0" }
  577. solana-seed-phrase = { path = "sdk/seed-phrase", version = "=2.2.0" }
  578. solana-serde = { path = "sdk/serde", version = "=2.2.0" }
  579. solana-serde-varint = { path = "sdk/serde-varint", version = "=2.2.0" }
  580. solana-serialize-utils = { path = "sdk/serialize-utils", version = "=2.2.0" }
  581. solana-sha256-hasher = { path = "sdk/sha256-hasher", version = "=2.2.0" }
  582. solana-signature = { path = "sdk/signature", version = "=2.2.0", default-features = false }
  583. solana-signer = { path = "sdk/signer", version = "=2.2.0" }
  584. solana-slot-hashes = { path = "sdk/slot-hashes", version = "=2.2.0" }
  585. solana-slot-history = { path = "sdk/slot-history", version = "=2.2.0" }
  586. solana-time-utils = { path = "sdk/time-utils", version = "=2.2.0" }
  587. solana-timings = { path = "timings", version = "=2.2.0" }
  588. solana-tls-utils = { path = "tls-utils", version = "=2.2.0" }
  589. solana-unified-scheduler-logic = { path = "unified-scheduler-logic", version = "=2.2.0" }
  590. solana-unified-scheduler-pool = { path = "unified-scheduler-pool", version = "=2.2.0" }
  591. solana-rpc = { path = "rpc", version = "=2.2.0" }
  592. solana-rpc-client = { path = "rpc-client", version = "=2.2.0", default-features = false }
  593. solana-rpc-client-api = { path = "rpc-client-api", version = "=2.2.0" }
  594. solana-rpc-client-nonce-utils = { path = "rpc-client-nonce-utils", version = "=2.2.0" }
  595. solana-runtime = { path = "runtime", version = "=2.2.0" }
  596. solana-runtime-transaction = { path = "runtime-transaction", version = "=2.2.0" }
  597. solana-sbpf = "=0.9.0"
  598. solana-sdk = { path = "sdk", version = "=2.2.0" }
  599. solana-sdk-ids = { path = "sdk/sdk-ids", version = "=2.2.0" }
  600. solana-sdk-macro = { path = "sdk/macro", version = "=2.2.0" }
  601. solana-secp256k1-program = { path = "sdk/secp256k1-program", version = "=2.2.0" }
  602. solana-secp256k1-recover = { path = "curves/secp256k1-recover", version = "=2.2.0", default-features = false }
  603. solana-send-transaction-service = { path = "send-transaction-service", version = "=2.2.0" }
  604. solana-short-vec = { path = "sdk/short-vec", version = "=2.2.0" }
  605. solana-shred-version = { path = "sdk/shred-version", version = "=2.2.0" }
  606. solana-stable-layout = { path = "sdk/stable-layout", version = "=2.2.0" }
  607. solana-stake-program = { path = "programs/stake", version = "=2.2.0", default-features = false }
  608. solana-storage-bigtable = { path = "storage-bigtable", version = "=2.2.0" }
  609. solana-storage-proto = { path = "storage-proto", version = "=2.2.0" }
  610. solana-streamer = { path = "streamer", version = "=2.2.0" }
  611. solana-svm = { path = "svm", version = "=2.2.0" }
  612. solana-svm-conformance = { path = "svm-conformance", version = "=2.2.0" }
  613. solana-svm-rent-collector = { path = "svm-rent-collector", version = "=2.2.0" }
  614. solana-svm-transaction = { path = "svm-transaction", version = "=2.2.0" }
  615. solana-system-interface = "1.0"
  616. solana-system-program = { path = "programs/system", version = "=2.2.0" }
  617. solana-system-transaction = { path = "sdk/system-transaction", version = "=2.2.0" }
  618. solana-sysvar = { path = "sdk/sysvar", version = "=2.2.0" }
  619. solana-sysvar-id = { path = "sdk/sysvar-id", version = "=2.2.0" }
  620. solana-test-validator = { path = "test-validator", version = "=2.2.0" }
  621. solana-thin-client = { path = "thin-client", version = "=2.2.0" }
  622. solana-transaction = { path = "sdk/transaction", version = "=2.2.0" }
  623. solana-transaction-error = { path = "sdk/transaction-error", version = "=2.2.0" }
  624. solana-tpu-client = { path = "tpu-client", version = "=2.2.0", default-features = false }
  625. solana-tpu-client-next = { path = "tpu-client-next", version = "=2.2.0" }
  626. solana-transaction-context = { path = "sdk/transaction-context", version = "=2.2.0" }
  627. solana-transaction-status = { path = "transaction-status", version = "=2.2.0" }
  628. solana-transaction-status-client-types = { path = "transaction-status-client-types", version = "=2.2.0" }
  629. solana-transaction-metrics-tracker = { path = "transaction-metrics-tracker", version = "=2.2.0" }
  630. solana-turbine = { path = "turbine", version = "=2.2.0" }
  631. solana-type-overrides = { path = "type-overrides", version = "=2.2.0" }
  632. solana-udp-client = { path = "udp-client", version = "=2.2.0" }
  633. solana-validator-exit = { path = "sdk/validator-exit", version = "=2.2.0" }
  634. solana-version = { path = "version", version = "=2.2.0" }
  635. solana-vote = { path = "vote", version = "=2.2.0" }
  636. solana-vote-interface = { path = "sdk/vote-interface", version = "=2.2.0" }
  637. solana-vote-program = { path = "programs/vote", version = "=2.2.0", default-features = false }
  638. solana-wen-restart = { path = "wen-restart", version = "=2.2.0" }
  639. solana-zk-elgamal-proof-program = { path = "programs/zk-elgamal-proof", version = "=2.2.0" }
  640. solana-zk-keygen = { path = "zk-keygen", version = "=2.2.0" }
  641. solana-zk-sdk = { path = "zk-sdk", version = "=2.2.0" }
  642. solana-zk-token-proof-program = { path = "programs/zk-token-proof", version = "=2.2.0" }
  643. solana-zk-token-sdk = { path = "zk-token-sdk", version = "=2.2.0" }
  644. spl-associated-token-account = "=6.0.0"
  645. spl-instruction-padding = "0.3"
  646. spl-memo = "=6.0.0"
  647. spl-pod = "=0.5.0"
  648. spl-token = "=7.0.0"
  649. spl-token-2022 = "=6.0.0"
  650. spl-token-confidential-transfer-proof-extraction = "0.2.1"
  651. spl-token-group-interface = "=0.5.0"
  652. spl-token-metadata-interface = "=0.6.0"
  653. static_assertions = "1.1.0"
  654. stream-cancel = "0.8.2"
  655. strum = "0.24"
  656. strum_macros = "0.24"
  657. subtle = "2.6.1"
  658. symlink = "0.1.0"
  659. syn = "2.0"
  660. sys-info = "0.9.1"
  661. sysctl = "0.4.6"
  662. systemstat = "0.2.4"
  663. tar = "0.4.43"
  664. tarpc = "0.29.0"
  665. tempfile = "3.14.0"
  666. test-case = "3.3.1"
  667. thiserror = "2.0.11"
  668. thread-priority = "1.2.0"
  669. tiny-bip39 = "0.8.2"
  670. # Update solana-tokio patch below when updating this version
  671. tokio = "1.43.0"
  672. tokio-serde = "0.8"
  673. tokio-stream = "0.1.17"
  674. tokio-tungstenite = "0.20.1"
  675. tokio-util = "0.7"
  676. toml = "0.8.12"
  677. tonic = "0.9.2"
  678. tonic-build = "0.9.2"
  679. tower = "0.5.2"
  680. trees = "0.4.2"
  681. tungstenite = "0.20.1"
  682. uriparse = "0.6.4"
  683. url = "2.5.4"
  684. vec_extract_if_polyfill = "0.1.0"
  685. wasm-bindgen = "0.2"
  686. winapi = "0.3.8"
  687. winreg = "0.50"
  688. x509-parser = "0.14.0"
  689. # See "zeroize versioning issues" below if you are updating this version.
  690. zeroize = { version = "1.7", default-features = false }
  691. zstd = "0.13.2"
  692. [patch.crates-io]
  693. # for details, see https://github.com/anza-xyz/crossbeam/commit/fd279d707025f0e60951e429bf778b4813d1b6bf
  694. crossbeam-epoch = { git = "https://github.com/anza-xyz/crossbeam", rev = "fd279d707025f0e60951e429bf778b4813d1b6bf" }
  695. # We include the following crates as our dependencies above from crates.io:
  696. #
  697. # * spl-associated-token-account
  698. # * spl-instruction-padding
  699. # * spl-memo
  700. # * spl-pod
  701. # * spl-token
  702. # * spl-token-2022
  703. # * spl-token-metadata-interface
  704. #
  705. # They, in turn, depend on a number of crates that we also include directly
  706. # using `path` specifications. For example, `spl-token` depends on
  707. # `solana-program`. And we explicitly specify `solana-program` above as a local
  708. # path dependency:
  709. #
  710. # solana-program = { path = "../../sdk/program", version = "=1.16.0" }
  711. #
  712. # Unfortunately, Cargo will try to resolve the `spl-token` `solana-program`
  713. # dependency only using what is available on crates.io. Crates.io normally
  714. # contains a previous version of these crates, and we end up with two versions
  715. # of `solana-program` and `solana-zk-token-sdk` and all of their dependencies in
  716. # our build tree.
  717. #
  718. # If you are developing downstream using non-crates-io solana-program (local or
  719. # forked repo, or from github rev, eg), duplicate the following patch statements
  720. # in your Cargo.toml. If you still hit duplicate-type errors with the patch
  721. # statements in place, run `cargo update -p solana-program` and/or `cargo update
  722. # -p solana-zk-token-sdk` to remove extraneous versions from your Cargo.lock
  723. # file.
  724. #
  725. # There is a similar override in `programs/sbf/Cargo.toml`. Please keep both
  726. # comments and the overrides in sync.
  727. solana-curve25519 = { path = "curves/curve25519" }
  728. solana-account-info = { path = "sdk/account-info" }
  729. solana-borsh = { path = "sdk/borsh" }
  730. solana-cpi = { path = "sdk/cpi" }
  731. solana-decode-error = { path = "sdk/decode-error" }
  732. solana-hash = { path = "sdk/hash" }
  733. solana-instruction = { path = "sdk/instruction" }
  734. solana-msg = { path = "sdk/msg" }
  735. solana-program = { path = "sdk/program" }
  736. solana-program-entrypoint = { path = "sdk/program-entrypoint" }
  737. solana-program-error = { path = "sdk/program-error" }
  738. solana-program-option = { path = "sdk/program-option" }
  739. solana-program-pack = { path = "sdk/program-pack" }
  740. solana-pubkey = { path = "sdk/pubkey" }
  741. solana-sha256-hasher = { path = "sdk/sha256-hasher" }
  742. solana-zk-sdk = { path = "zk-sdk" }
  743. # curve25519-dalek uses the simd backend by default in v4 if possible,
  744. # which has very slow performance on some platforms with opt-level 0,
  745. # which is the default for dev and test builds.
  746. # This slowdown causes certain interactions in the solana-test-validator,
  747. # such as verifying ZK proofs in transactions, to take much more than 400ms,
  748. # creating problems in the testing environment.
  749. # To enable better performance in solana-test-validator during tests and dev builds,
  750. # we override the opt-level to 3 for the crate.
  751. [profile.dev.package.curve25519-dalek]
  752. opt-level = 3